From 83af702f1cae043902e23e9358c3e036ddca8d33 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 3 Jun 2020 16:46:25 +0530 Subject: re-indent with latest version of prettier --- src/operations/pending.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/operations/pending.ts') 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, -- cgit v1.2.3