summaryrefslogtreecommitdiff
path: root/src/operations/withdraw.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-04-06 21:15:41 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-04-06 21:15:41 +0530
commitf36bb7a04eabe0330cb166bf9ce5021c92f38dc8 (patch)
tree9a242a06bd5353c8b167600c31776c9f16d9d21c /src/operations/withdraw.ts
parent07f25566ca51b7faf6462a57d15f4ebbfc733ab0 (diff)
downloadwallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.tar.gz
wallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.tar.bz2
wallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.zip
linter
Diffstat (limited to 'src/operations/withdraw.ts')
-rw-r--r--src/operations/withdraw.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operations/withdraw.ts b/src/operations/withdraw.ts
index fcd9d70c9..70ecf9aed 100644
--- a/src/operations/withdraw.ts
+++ b/src/operations/withdraw.ts
@@ -394,7 +394,7 @@ async function incrementWithdrawalRetry(
export async function processWithdrawGroup(
ws: InternalWalletState,
withdrawalGroupId: string,
- forceNow: boolean = false,
+ forceNow = false,
): Promise<void> {
const onOpErr = (e: OperationError) =>
incrementWithdrawalRetry(ws, withdrawalGroupId, e);
@@ -470,7 +470,7 @@ export async function getExchangeWithdrawalInfo(
.reduce((a, b) => Amounts.add(a, b).amount);
const exchangeWireAccounts: string[] = [];
- for (let account of exchangeWireInfo.accounts) {
+ for (const account of exchangeWireInfo.accounts) {
exchangeWireAccounts.push(account.payto_uri);
}