diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-04-06 21:15:41 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-04-06 21:15:41 +0530 |
commit | f36bb7a04eabe0330cb166bf9ce5021c92f38dc8 (patch) | |
tree | 9a242a06bd5353c8b167600c31776c9f16d9d21c /src/operations/refresh.ts | |
parent | 07f25566ca51b7faf6462a57d15f4ebbfc733ab0 (diff) | |
download | wallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.tar.xz |
linter
Diffstat (limited to 'src/operations/refresh.ts')
-rw-r--r-- | src/operations/refresh.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/operations/refresh.ts b/src/operations/refresh.ts index be4f5c5af..23d192e0a 100644 --- a/src/operations/refresh.ts +++ b/src/operations/refresh.ts @@ -446,7 +446,7 @@ async function refreshReveal( rg.timestampFinished = getTimestampNow(); rg.retryInfo = initRetryInfo(false); } - for (let coin of coins) { + for (const coin of coins) { await tx.put(Stores.coins, coin); } await tx.put(Stores.refreshGroups, rg); @@ -482,7 +482,7 @@ async function incrementRefreshRetry( export async function processRefreshGroup( ws: InternalWalletState, refreshGroupId: string, - forceNow: boolean = false, + forceNow = false, ): Promise<void> { await ws.memoProcessRefresh.memo(refreshGroupId, async () => { const onOpErr = (e: OperationError) => |