diff options
Diffstat (limited to 'packages/taler-wallet-core/src/operations/deposits.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/deposits.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/deposits.ts b/packages/taler-wallet-core/src/operations/deposits.ts index 612de8240..e6f1591ee 100644 --- a/packages/taler-wallet-core/src/operations/deposits.ts +++ b/packages/taler-wallet-core/src/operations/deposits.ts @@ -41,6 +41,7 @@ import { TalerProtocolTimestamp, TrackDepositGroupRequest, TrackDepositGroupResponse, + TransactionType, URL, } from "@gnu-taler/taler-util"; import { @@ -62,6 +63,7 @@ import { getTotalPaymentCost, } from "./pay.js"; import { getTotalRefreshCost } from "./refresh.js"; +import { makeEventId } from "./transactions.js"; /** * Logger. @@ -531,7 +533,10 @@ export async function createDepositGroup( await tx.depositGroups.put(depositGroup); }); - return { depositGroupId }; + return { + depositGroupId: depositGroupId, + transactionId: makeEventId(TransactionType.Deposit, depositGroupId) + }; } /** |