diff options
author | Florian Dold <florian@dold.me> | 2023-01-12 15:11:32 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-01-12 15:11:32 +0100 |
commit | 24694eae736763ea6e026c8839b7ba119db10bb4 (patch) | |
tree | be432b50a6be729445a6f0515f3cb3333d7c0697 /packages/taler-wallet-core/src/wallet.ts | |
parent | 81157c519b31964587548e08171a76c67eea9a2b (diff) | |
download | wallet-core-24694eae736763ea6e026c8839b7ba119db10bb4.tar.xz |
wallet-core: implement retries for peer push payments
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index e2a2b43f6..73b86c8c6 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -198,6 +198,7 @@ import { initiatePeerToPeerPush, preparePeerPullPayment, preparePeerPushPayment, + processPeerPushOutgoing, } from "./operations/pay-peer.js"; import { getPendingOperations } from "./operations/pending.js"; import { @@ -317,6 +318,8 @@ async function callOperationHandler( } case PendingTaskType.Backup: return await processBackupForProvider(ws, pending.backupProviderBaseUrl); + case PendingTaskType.PeerPushOutgoing: + return await processPeerPushOutgoing(ws, pending.pursePub); default: return assertUnreachable(pending); } |