aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/wallet.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-21 20:31:23 +0100
committerFlorian Dold <florian@dold.me>2023-02-21 20:31:23 +0100
commita3c7da975b6375f8c57154875642fb29a67e8731 (patch)
tree0d73dd9ad07f4c4c16309e25510fd809a280a61d /packages/taler-wallet-core/src/wallet.ts
parent267714074995aab337b474dce2cb0236c2861a9c (diff)
downloadwallet-core-a3c7da975b6375f8c57154875642fb29a67e8731.tar.xz
wallet-core: fix peer-pull-credit long-polling and peer-pull-debit pending operation status
Diffstat (limited to 'packages/taler-wallet-core/src/wallet.ts')
-rw-r--r--packages/taler-wallet-core/src/wallet.ts4
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 47724efdc..8614fd7e3 100644
--- a/packages/taler-wallet-core/src/wallet.ts
+++ b/packages/taler-wallet-core/src/wallet.ts
@@ -199,7 +199,7 @@ import {
import {
acceptIncomingPeerPullPayment,
confirmPeerPushPayment,
- preparePeerPullCredit,
+ preparePeerPullDebit,
preparePeerPushCredit,
initiatePeerPullPayment,
initiatePeerPushPayment,
@@ -1462,7 +1462,7 @@ async function dispatchRequestInternal<Op extends WalletApiOperation>(
}
case WalletApiOperation.PreparePeerPullDebit: {
const req = codecForCheckPeerPullPaymentRequest().decode(payload);
- return await preparePeerPullCredit(ws, req);
+ return await preparePeerPullDebit(ws, req);
}
case WalletApiOperation.ConfirmPeerPullDebit: {
const req = codecForAcceptPeerPullPaymentRequest().decode(payload);