diff options
author | Florian Dold <florian.dold@gmail.com> | 2019-12-05 22:17:01 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2019-12-05 22:17:01 +0100 |
commit | 8115ac660cd9d12ef69ca80fc2e4cf8eec6b1ba1 (patch) | |
tree | 1190c1e16fb620d7812b1f26b03f20ed9615e795 /src/wallet.ts | |
parent | f67d7f54f9d0fed97446898942e3dfee67ee2985 (diff) | |
download | wallet-core-8115ac660cd9d12ef69ca80fc2e4cf8eec6b1ba1.tar.xz |
fix refunds
Diffstat (limited to 'src/wallet.ts')
-rw-r--r-- | src/wallet.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wallet.ts b/src/wallet.ts index 86b3085f4..489bb2af8 100644 --- a/src/wallet.ts +++ b/src/wallet.ts @@ -49,7 +49,7 @@ import { processDownloadProposal, applyRefund, getFullRefundFees, - processPurchaseImpl, + processPurchase, } from "./wallet-impl/pay"; import { @@ -180,6 +180,7 @@ export class Wallet { pending: PendingOperationInfo, forceNow: boolean = false, ): Promise<void> { + console.log("running pending", pending); switch (pending.type) { case "bug": // Nothing to do, will just be displayed to the user @@ -209,7 +210,7 @@ export class Wallet { await processTip(this.ws, pending.tipId); break; case "pay": - await processPurchaseImpl(this.ws, pending.proposalId); + await processPurchase(this.ws, pending.proposalId); break; default: assertUnreachable(pending); |