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/refund.ts | |
parent | 07f25566ca51b7faf6462a57d15f4ebbfc733ab0 (diff) | |
download | wallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.tar.xz |
linter
Diffstat (limited to 'src/operations/refund.ts')
-rw-r--r-- | src/operations/refund.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/operations/refund.ts b/src/operations/refund.ts index f0fec4065..74d4b848e 100644 --- a/src/operations/refund.ts +++ b/src/operations/refund.ts @@ -300,7 +300,7 @@ export async function applyRefund( export async function processPurchaseQueryRefund( ws: InternalWalletState, proposalId: string, - forceNow: boolean = false, + forceNow = false, ): Promise<void> { const onOpErr = (e: OperationError) => incrementPurchaseQueryRefundRetry(ws, proposalId, e); @@ -366,7 +366,7 @@ async function processPurchaseQueryRefundImpl( export async function processPurchaseApplyRefund( ws: InternalWalletState, proposalId: string, - forceNow: boolean = false, + forceNow = false, ): Promise<void> { const onOpErr = (e: OperationError) => incrementPurchaseApplyRefundRetry(ws, proposalId, e); @@ -460,7 +460,7 @@ async function processPurchaseApplyRefundImpl( } // Groups that failed/succeeded - let groups: { [refundGroupId: string]: boolean } = {}; + const groups: { [refundGroupId: string]: boolean } = {}; // Avoid duplicates const refreshCoinsMap: { [coinPub: string]: CoinPublicKey } = {}; |