FIX: skip checking noncePriv eq if the URI doesn't specify a noncePriv value
This commit is contained in:
parent
398bd0664b
commit
bff5b3f59c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user