From 14456bb942fa596290c2eb59f287e02c17c37f4c Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 2 Nov 2022 17:02:42 +0100 Subject: wallet-core: address DB FIXMEs --- packages/taler-wallet-core/src/wallet.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/taler-wallet-core/src/wallet.ts') 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( } 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); -- cgit v1.2.3