commit 9515e5b2754449d59dee2201d149c2f4574e5fdf
parent ef9c0fa56228e14cde2be839f48cefeda3db6428
Author: Florian Dold <florian@dold.me>
Date: Sat, 18 Jul 2026 17:00:46 +0200
fix comparison on default choice calculation
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts
@@ -2690,7 +2690,7 @@ async function calculateDefaultChoice(
(choice.inputs[0].count ?? 1) === 1 &&
(choice.outputs[0].count ?? 1) === 1 &&
choice.inputs[0].token_family_slug ===
- choice.inputs[0].token_family_slug
+ choice.outputs[0].token_family_slug
) {
automaticExecution =
details.status === ChoiceSelectionDetailType.PaymentPossible;