aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/blockchain.go2
-rw-r--r--dex/app.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/blockchain.go b/core/blockchain.go
index 60730d197..2bccaf9dc 100644
--- a/core/blockchain.go
+++ b/core/blockchain.go
@@ -347,7 +347,7 @@ func (bc *BlockChain) AddConfirmedBlock(block *coreTypes.Block) error {
if err != nil {
return err
}
- _, err := transactions.TouchSenders(types.MakeSigner(bc.Config(), new(big.Int)))
+ _, err = transactions.TouchSenders(types.MakeSigner(bc.Config(), new(big.Int)))
if err != nil {
return err
}
diff --git a/dex/app.go b/dex/app.go
index 7d9c9e13a..af8295c9a 100644
--- a/dex/app.go
+++ b/dex/app.go
@@ -362,7 +362,7 @@ func (d *DexconApp) VerifyBlock(block *coreTypes.Block) coreTypes.BlockVerifySta
return coreTypes.VerifyInvalidBlock
}
- _, err := transactions.TouchSenders(types.MakeSigner(d.blockchain.Config(), new(big.Int)))
+ _, 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