diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-07 22:02:11 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-07 22:02:11 +0100 |
commit | 396bb61db70f654599256e512bfec4c008ee8269 (patch) | |
tree | cfaba65d5d0c4782c7c64c28b68a41689cdbc07a /src/wallet.ts | |
parent | b68b52e95c126e0d3b9788d6332c19144f9dc7e7 (diff) |
reset retry counter when forcing operations
Diffstat (limited to 'src/wallet.ts')
-rw-r--r-- | src/wallet.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/wallet.ts b/src/wallet.ts index a4fc09f7d..328baf722 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -191,34 +191,34 @@ export class Wallet { await refresh(this.ws, pending.coinPub); break; case "exchange-update": - await updateExchangeFromUrl(this.ws, pending.exchangeBaseUrl); + await updateExchangeFromUrl(this.ws, pending.exchangeBaseUrl, forceNow); break; case "refresh": - await processRefreshSession(this.ws, pending.refreshSessionId); + await processRefreshSession(this.ws, pending.refreshSessionId, forceNow); break; case "reserve": await processReserve(this.ws, pending.reservePub, forceNow); break; case "withdraw": - await processWithdrawSession(this.ws, pending.withdrawSessionId); + await processWithdrawSession(this.ws, pending.withdrawSessionId, forceNow); break; case "proposal-choice": // Nothing to do, user needs to accept/reject break; case "proposal-download": - await processDownloadProposal(this.ws, pending.proposalId); + await processDownloadProposal(this.ws, pending.proposalId, forceNow); break; case "tip": - await processTip(this.ws, pending.tipId); + await processTip(this.ws, pending.tipId, forceNow); break; case "pay": - await processPurchasePay(this.ws, pending.proposalId); + await processPurchasePay(this.ws, pending.proposalId, forceNow); break; case "refund-query": - await processPurchaseQueryRefund(this.ws, pending.proposalId); + await processPurchaseQueryRefund(this.ws, pending.proposalId, forceNow); break; case "refund-apply": - await processPurchaseApplyRefund(this.ws, pending.proposalId); + await processPurchaseApplyRefund(this.ws, pending.proposalId, forceNow); break; default: assertUnreachable(pending); |