aboutsummaryrefslogtreecommitdiffstats
path: root/dex/app.go
diff options
context:
space:
mode:
Diffstat (limited to 'dex/app.go')
-rw-r--r--dex/app.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/dex/app.go b/dex/app.go
index a90dfae37..7d9c9e13a 100644
--- a/dex/app.go
+++ b/dex/app.go
@@ -362,6 +362,12 @@ func (d *DexconApp) VerifyBlock(block *coreTypes.Block) coreTypes.BlockVerifySta
return coreTypes.VerifyInvalidBlock
}
+ _, err := transactions.TouchSenders(types.MakeSigner(d.blockchain.Config(), new(big.Int)))
+ if err != nil {
+ log.Error("Failed to calculate sender", "error", err)
+ return coreTypes.VerifyInvalidBlock
+ }
+
addressNonce, err := d.validateNonce(transactions)
if err != nil {
log.Error("Validate nonce failed", "error", err)