diff options
author | Florian Dold <florian@dold.me> | 2023-04-21 22:02:34 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-04-21 22:02:40 +0200 |
commit | e81ae0f3e5a510424076b611ac32385057cbdaed (patch) | |
tree | 1583ae253ec979f6dfdef5cd4581db6a7d33818a /packages/taler-wallet-core/src/operations/transactions.ts | |
parent | fc2adae6bd34164b4a13b270be4c585f090afb61 (diff) | |
download | wallet-core-e81ae0f3e5a510424076b611ac32385057cbdaed.tar.xz |
wallet-harness: make sure events are not lost in deposit test
Diffstat (limited to 'packages/taler-wallet-core/src/operations/transactions.ts')
-rw-r--r-- | packages/taler-wallet-core/src/operations/transactions.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/taler-wallet-core/src/operations/transactions.ts b/packages/taler-wallet-core/src/operations/transactions.ts index 3ace5bf71..6a71b5c1e 100644 --- a/packages/taler-wallet-core/src/operations/transactions.ts +++ b/packages/taler-wallet-core/src/operations/transactions.ts @@ -34,6 +34,7 @@ import { TalerProtocolTimestamp, Transaction, TransactionByIdRequest, + TransactionIdStr, TransactionsRequest, TransactionsResponse, TransactionState, @@ -1428,7 +1429,7 @@ export type ParsedTransactionIdentifier = export function constructTransactionIdentifier( pTxId: ParsedTransactionIdentifier, -): string { +): TransactionIdStr { switch (pTxId.tag) { case TransactionType.Deposit: return `txn:${pTxId.tag}:${pTxId.depositGroupId}`; |