diff options
author | Sebastian <sebasjm@gmail.com> | 2021-10-01 13:34:28 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-10-01 13:35:25 -0300 |
commit | bff5b3f59c83222a198d38f7d18587c759a2568a (patch) | |
tree | 9378aa170725fdf12261874471cbe7b9b6e023db /packages/taler-wallet-core/src/operations | |
parent | 398bd0664b7655f77799ed048c8ca2f5cf23ebaf (diff) | |
download | wallet-core-bff5b3f59c83222a198d38f7d18587c759a2568a.tar.xz |
FIX: skip checking noncePriv eq if the URI doesn't specify a noncePriv value
Diffstat (limited to 'packages/taler-wallet-core/src/operations')
-rw-r--r-- | packages/taler-wallet-core/src/operations/pay.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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; |