diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-06-03 16:46:25 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-06-03 16:46:25 +0530 |
commit | 83af702f1cae043902e23e9358c3e036ddca8d33 (patch) | |
tree | 3b27fa06fd890406224a0cc4e074d9bd9457230d /src/operations/pending.ts | |
parent | 77c61e738181561979da64a480fe21f70f6fe1f4 (diff) | |
download | wallet-core-83af702f1cae043902e23e9358c3e036ddca8d33.tar.xz |
re-indent with latest version of prettier
Diffstat (limited to 'src/operations/pending.ts')
-rw-r--r-- | src/operations/pending.ts | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/operations/pending.ts b/src/operations/pending.ts index c793f5f0a..cf9b306d6 100644 --- a/src/operations/pending.ts +++ b/src/operations/pending.ts @@ -260,12 +260,14 @@ async function gatherWithdrawalPending( } let numCoinsWithdrawn = 0; let numCoinsTotal = 0; - await tx.iterIndexed(Stores.planchets.byGroup, wsr.withdrawalGroupId).forEach((x) => { - numCoinsTotal++; - if (x.withdrawalDone) { - numCoinsWithdrawn++; - } - }); + await tx + .iterIndexed(Stores.planchets.byGroup, wsr.withdrawalGroupId) + .forEach((x) => { + numCoinsTotal++; + if (x.withdrawalDone) { + numCoinsWithdrawn++; + } + }); resp.pendingOperations.push({ type: PendingOperationType.Withdraw, givesLifeness: true, |