commit e2738c58233038895611a67f127ee605112c5e11
parent d143ba95000f0b03685583fb9442863b9270e5a9
Author: Florian Dold <florian.dold@gmail.com>
Date: Mon, 13 Feb 2017 03:29:20 +0100
don't process contract if stale
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/content_scripts/notify.ts b/src/content_scripts/notify.ts
@@ -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;