don't process contract if stale

This commit is contained in:
Florian Dold 2017-02-13 03:29:20 +01:00
parent d143ba9500
commit e2738c5823
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -362,6 +362,7 @@ namespace TalerNotify {
let proposal = await downloadContract(msg.contract_url, nonce);
if (proposal.data.nonce != nonce) {
console.error("stale contract");
return;
}
await processProposal(proposal);
return;