aboutsummaryrefslogtreecommitdiff
path: root/src/operations/refund.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-04-06 21:15:41 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-04-06 21:15:41 +0530
commitf36bb7a04eabe0330cb166bf9ce5021c92f38dc8 (patch)
tree9a242a06bd5353c8b167600c31776c9f16d9d21c /src/operations/refund.ts
parent07f25566ca51b7faf6462a57d15f4ebbfc733ab0 (diff)
downloadwallet-core-f36bb7a04eabe0330cb166bf9ce5021c92f38dc8.tar.xz
linter
Diffstat (limited to 'src/operations/refund.ts')
-rw-r--r--src/operations/refund.ts6
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 } = {};