diff options
author | Florian Dold <florian@dold.me> | 2022-11-02 17:02:42 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-11-02 17:02:42 +0100 |
commit | 14456bb942fa596290c2eb59f287e02c17c37f4c (patch) | |
tree | a049d0fcd94521567d9e9d1fa015676b14e54bd8 /packages/taler-wallet-core/src/wallet.ts | |
parent | 91e069c7428e8c160a8d5592514c0d8a6f726353 (diff) | |
download | wallet-core-14456bb942fa596290c2eb59f287e02c17c37f4c.tar.xz |
wallet-core: address DB FIXMEs
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts index d7d8a206f..f800b68f8 100644 --- a/packages/taler-wallet-core/src/wallet.ts +++ b/packages/taler-wallet-core/src/wallet.ts @@ -184,7 +184,7 @@ import { acceptPeerPushPayment, checkPeerPullPayment, checkPeerPushPayment, - initiatePeerRequestForPay, + initiatePeerPullPayment, initiatePeerToPeerPush, } from "./operations/pay-peer.js"; import { getPendingOperations } from "./operations/pending.js"; @@ -1354,7 +1354,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>( } case WalletApiOperation.InitiatePeerPullPayment: { const req = codecForInitiatePeerPullPaymentRequest().decode(payload); - return await initiatePeerRequestForPay(ws, req); + return await initiatePeerPullPayment(ws, req); } case WalletApiOperation.CheckPeerPullPayment: { const req = codecForCheckPeerPullPaymentRequest().decode(payload); |