commit 685b9a70362f707e03df29ff4e7beb85f46446e5
parent d30f404c29ea7f48b8cd9ee63f25b3ae41047058
Author: Florian Dold <dold@taler.net>
Date: Wed, 22 Jul 2026 10:41:55 +0200
wallet: parse the internal withdrawal and recoup transaction identifiers
Both are part of the parsed identifier type and are constructed elsewhere in
the tree, but parsing them returned undefined.
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/packages/taler-wallet-core/src/transactions.ts b/packages/taler-wallet-core/src/transactions.ts
@@ -694,6 +694,16 @@ export function parseTransactionIdentifier(
tag: TransactionType.Withdrawal,
withdrawalGroupId: rest[0],
};
+ case TransactionType.InternalWithdrawal:
+ return {
+ tag: TransactionType.InternalWithdrawal,
+ withdrawalGroupId: rest[0],
+ };
+ case TransactionType.Recoup:
+ return {
+ tag: TransactionType.Recoup,
+ recoupGroupId: rest[0],
+ };
case TransactionType.DenomLoss:
return {
tag: TransactionType.DenomLoss,