taler-typescript-core

Wallet core logic and WebUIs for various components
Log | Files | Refs | Submodules | README | LICENSE

commit 4e241673715eaf71d10c6c1f035667ddb123d776
parent 9ac8c735d8883f3941471782645f6a1af62e1e2f
Author: Florian Dold <dold@taler.net>
Date:   Wed, 22 Jul 2026 00:32:40 +0200

wallet: skip the slate signatures when reusing stored ones

The donau signatures are read from the merchant response after the slate
signatures.  When the slate signatures came from the database the offset
stayed at zero, so a payment that yields both a token and a tax receipt
handed the slate signatures to the donau.

Diffstat:
Mpackages/taler-wallet-core/src/pay-merchant.ts | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts @@ -3472,6 +3472,7 @@ async function processPurchasePay( let tokenSigs: SignedTokenEnvelope[] | undefined; if (payInfo.slateTokenSigs) { tokenSigs = payInfo.slateTokenSigs; + outTokOffset = payInfo.slateTokenSigs.length; } else if ( slates && slates.length > 0 &&