From f36bb7a04eabe0330cb166bf9ce5021c92f38dc8 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 6 Apr 2020 21:15:41 +0530 Subject: linter --- src/operations/recoup.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/operations/recoup.ts') diff --git a/src/operations/recoup.ts b/src/operations/recoup.ts index e13ae3c1f..97bc39564 100644 --- a/src/operations/recoup.ts +++ b/src/operations/recoup.ts @@ -291,7 +291,7 @@ async function resetRecoupGroupRetry( export async function processRecoupGroup( ws: InternalWalletState, recoupGroupId: string, - forceNow: boolean = false, + forceNow = false, ): Promise { await ws.memoProcessRecoup.memo(recoupGroupId, async () => { const onOpErr = (e: OperationError) => @@ -306,7 +306,7 @@ export async function processRecoupGroup( async function processRecoupGroupImpl( ws: InternalWalletState, recoupGroupId: string, - forceNow: boolean = false, + forceNow = false, ): Promise { if (forceNow) { await resetRecoupGroupRetry(ws, recoupGroupId); @@ -386,7 +386,7 @@ async function processRecoup( const coinPub = recoupGroup.coinPubs[coinIdx]; - let coin = await ws.db.get(Stores.coins, coinPub); + const coin = await ws.db.get(Stores.coins, coinPub); if (!coin) { throw Error(`Coin ${coinPub} not found, can't request payback`); } -- cgit v1.2.3