diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/withdraw.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/withdraw.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/taler-wallet-core/src/operations/withdraw.ts b/packages/taler-wallet-core/src/operations/withdraw.ts index 700c4620c..2932cfa5f 100644 --- a/packages/taler-wallet-core/src/operations/withdraw.ts +++ b/packages/taler-wallet-core/src/operations/withdraw.ts @@ -111,7 +111,7 @@ import { WALLET_EXCHANGE_PROTOCOL_VERSION, } from "../versions.js"; import { - makeEventId, + makeTransactionId, storeOperationError, storeOperationPending, } from "./common.js"; @@ -1797,7 +1797,7 @@ export async function acceptWithdrawalFromUri( return { reservePub: existingWithdrawalGroup.reservePub, confirmTransferUrl: url, - transactionId: makeEventId( + transactionId: makeTransactionId( TransactionType.Withdrawal, existingWithdrawalGroup.withdrawalGroupId, ), @@ -1858,7 +1858,7 @@ export async function acceptWithdrawalFromUri( return { reservePub: withdrawalGroup.reservePub, confirmTransferUrl: withdrawInfo.confirmTransferUrl, - transactionId: makeEventId(TransactionType.Withdrawal, withdrawalGroupId), + transactionId: makeTransactionId(TransactionType.Withdrawal, withdrawalGroupId), }; } @@ -1919,6 +1919,6 @@ export async function createManualWithdrawal( return { reservePub: withdrawalGroup.reservePub, exchangePaytoUris: exchangePaytoUris, - transactionId: makeEventId(TransactionType.Withdrawal, withdrawalGroupId), + transactionId: makeTransactionId(TransactionType.Withdrawal, withdrawalGroupId), }; } |