summaryrefslogtreecommitdiff
path: root/src/operations/refresh.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/operations/refresh.ts')
-rw-r--r--src/operations/refresh.ts4
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) =>