diff options
author | Florian Dold <florian@dold.me> | 2022-10-14 22:47:11 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-10-14 22:47:11 +0200 |
commit | 0c8e56c32457ea9b9229a8a3607fcf8e7618bc17 (patch) | |
tree | d0b4bbe4e199d62426e722b803fdfa178cd6f3a0 /packages/taler-wallet-core/src/operations/tip.ts | |
parent | eec6695be0409669fcad36c6cc7ea01f48d41c97 (diff) | |
download | wallet-core-0c8e56c32457ea9b9229a8a3607fcf8e7618bc17.tar.xz |
wallet-core: properly separate different types of IDs
Diffstat (limited to 'packages/taler-wallet-core/src/operations/tip.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/tip.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/operations/tip.ts b/packages/taler-wallet-core/src/operations/tip.ts index a83867f55..b74e1182a 100644 --- a/packages/taler-wallet-core/src/operations/tip.ts +++ b/packages/taler-wallet-core/src/operations/tip.ts @@ -56,7 +56,7 @@ import { OperationAttemptResult, OperationAttemptResultType, } from "../util/retries.js"; -import { makeCoinAvailable, makeEventId } from "./common.js"; +import { makeCoinAvailable, makeTransactionId } from "./common.js"; import { updateExchangeFromUrl } from "./exchanges.js"; import { getCandidateWithdrawalDenoms, @@ -366,6 +366,6 @@ export async function acceptTip( await processTip(ws, tipId); } return { - transactionId: makeEventId(TransactionType.Tip, tipId), + transactionId: makeTransactionId(TransactionType.Tip, tipId), }; } |