From bff5b3f59c83222a198d38f7d18587c759a2568a Mon Sep 17 00:00:00 2001 From: Sebastian Date: Fri, 1 Oct 2021 13:34:28 -0300 Subject: FIX: skip checking noncePriv eq if the URI doesn't specify a noncePriv value --- packages/taler-wallet-core/src/operations/pay.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taler-wallet-core/src/operations/pay.ts b/packages/taler-wallet-core/src/operations/pay.ts index c524f4c98..91268400a 100644 --- a/packages/taler-wallet-core/src/operations/pay.ts +++ b/packages/taler-wallet-core/src/operations/pay.ts @@ -893,7 +893,7 @@ async function startDownloadProposal( */ if (oldProposal && oldProposal.downloadSessionId === sessionId && - oldProposal.noncePriv === noncePriv && + (!noncePriv || oldProposal.noncePriv === noncePriv) && oldProposal.claimToken === claimToken) { await processDownloadProposal(ws, oldProposal.proposalId); return oldProposal.proposalId; -- cgit v1.2.3