[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 02/03: formatting / DCE
From: |
gnunet |
Subject: |
[taler-wallet-core] 02/03: formatting / DCE |
Date: |
Mon, 09 Mar 2020 09:59:22 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository wallet-core.
commit 7ba1f918233aa3068877adfc1d2016ed661b6400
Author: Florian Dold <address@hidden>
AuthorDate: Mon Mar 9 14:19:22 2020 +0530
formatting / DCE
---
src/operations/exchanges.ts | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/operations/exchanges.ts b/src/operations/exchanges.ts
index 2e0fd090..ca8c94ec 100644
--- a/src/operations/exchanges.ts
+++ b/src/operations/exchanges.ts
@@ -15,7 +15,12 @@
*/
import { InternalWalletState } from "./state";
-import { ExchangeKeysJson, Denomination, ExchangeWireJson,
codecForExchangeKeysJson, codecForExchangeWireJson } from "../types/talerTypes";
+import {
+ ExchangeKeysJson,
+ Denomination,
+ codecForExchangeKeysJson,
+ codecForExchangeWireJson,
+} from "../types/talerTypes";
import { OperationError } from "../types/walletTypes";
import {
ExchangeRecord,
@@ -27,10 +32,7 @@ import {
ExchangeUpdateReason,
ExchangeUpdatedEventRecord,
} from "../types/dbTypes";
-import {
- canonicalizeBaseUrl,
-} from "../util/helpers";
-import { Database } from "../util/query";
+import { canonicalizeBaseUrl } from "../util/helpers";
import * as Amounts from "../util/amounts";
import { parsePaytoUri } from "../util/payto";
import {
@@ -127,7 +129,7 @@ async function updateExchangeWithKeys(
throw new OperationFailedAndReportedError(m);
}
- const lastUpdateTimestamp = exchangeKeysJson.list_issue_date
+ const lastUpdateTimestamp = exchangeKeysJson.list_issue_date;
if (!lastUpdateTimestamp) {
const m = `Parsing /keys response failed: invalid list_issue_date.`;
await setExchangeError(ws, baseUrl, {
--
To stop receiving notification emails like this one, please contact
address@hidden.