aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-core/src/operations/pay-peer.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-05-11 14:29:55 +0200
committerFlorian Dold <florian@dold.me>2023-05-11 14:29:55 +0200
commit359b9860a615b8421dcbb72b763b20f3cae24083 (patch)
tree57ef4df830541fbbae804ea29bd04b5780faa20f /packages/taler-wallet-core/src/operations/pay-peer.ts
parentedd3a39a0ca01a299b6d9ebed8d34c29a9c3bb30 (diff)
wallet-core: remove legacy operation names
Diffstat (limited to 'packages/taler-wallet-core/src/operations/pay-peer.ts')
-rw-r--r--packages/taler-wallet-core/src/operations/pay-peer.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/taler-wallet-core/src/operations/pay-peer.ts b/packages/taler-wallet-core/src/operations/pay-peer.ts
index 31e395cab..3b4572900 100644
--- a/packages/taler-wallet-core/src/operations/pay-peer.ts
+++ b/packages/taler-wallet-core/src/operations/pay-peer.ts
@@ -50,8 +50,8 @@ import {
getRandomBytes,
InitiatePeerPullCreditRequest,
InitiatePeerPullCreditResponse,
- InitiatePeerPushPaymentRequest,
- InitiatePeerPushPaymentResponse,
+ InitiatePeerPushDebitRequest,
+ InitiatePeerPushDebitResponse,
j2s,
Logger,
parsePayPullUri,
@@ -653,10 +653,10 @@ export async function processPeerPushDebit(
/**
* Initiate sending a peer-to-peer push payment.
*/
-export async function initiatePeerPushPayment(
+export async function initiatePeerPushDebit(
ws: InternalWalletState,
- req: InitiatePeerPushPaymentRequest,
-): Promise<InitiatePeerPushPaymentResponse> {
+ req: InitiatePeerPushDebitRequest,
+): Promise<InitiatePeerPushDebitResponse> {
const instructedAmount = Amounts.parseOrThrow(
req.partialContractTerms.amount,
);