diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-02-13 03:29:20 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-02-13 03:29:20 +0100 |
commit | e2738c58233038895611a67f127ee605112c5e11 (patch) | |
tree | 2a6dc2f526ad4a4646ac874adc55bcc38e2d2d29 /src/content_scripts/notify.ts | |
parent | d143ba95000f0b03685583fb9442863b9270e5a9 (diff) | |
download | wallet-core-e2738c58233038895611a67f127ee605112c5e11.tar.xz |
don't process contract if stale
Diffstat (limited to 'src/content_scripts/notify.ts')
-rw-r--r-- | src/content_scripts/notify.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content_scripts/notify.ts b/src/content_scripts/notify.ts index d29e5913d..6a0d9d298 100644 --- 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; |