gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] 02/02: FIX: skip checking noncePriv eq if the URI do


From: gnunet
Subject: [taler-wallet-core] 02/02: FIX: skip checking noncePriv eq if the URI doesn't specify a noncePriv value
Date: Fri, 01 Oct 2021 18:35:37 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

commit bff5b3f59c83222a198d38f7d18587c759a2568a
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Fri Oct 1 13:34:28 2021 -0300

    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 c524f4c9..91268400 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;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]