commit df77ca77dfb39571b1204bd0ccaaa0a7394686d3 parent 2a71db70c87f0f75c02f9efb81dfad941a7289bc Author: Florian Dold <florian@dold.me> Date: Fri, 29 May 2026 13:44:49 +0200 wallet-core: update merchant base URL in DB to the one from contract terms Diffstat:
| M | packages/taler-wallet-core/src/pay-merchant.ts | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/packages/taler-wallet-core/src/pay-merchant.ts b/packages/taler-wallet-core/src/pay-merchant.ts @@ -1115,6 +1115,9 @@ async function processDownloadProposal( return; } + // We consider this base URL to be the authoritative / stable one. + p.merchantBaseUrl = baseUrlFromContractTerms; + const secretSeed = encodeCrock(getRandomBytes(32)); p.secretSeed = secretSeed;