aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-11-14 15:39:06 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:49:57 +0800
commit13447cec9b9687a3efc3ef6390f8d0f827000b32 (patch)
tree0f1254d8731f3df5b236670c2b37c88e803ea87f
parent862f30e333adcb6250d3eb377cddd468ca05b778 (diff)
downloaddexon-13447cec9b9687a3efc3ef6390f8d0f827000b32.tar
dexon-13447cec9b9687a3efc3ef6390f8d0f827000b32.tar.gz
dexon-13447cec9b9687a3efc3ef6390f8d0f827000b32.tar.bz2
dexon-13447cec9b9687a3efc3ef6390f8d0f827000b32.tar.lz
dexon-13447cec9b9687a3efc3ef6390f8d0f827000b32.tar.xz
dexon-13447cec9b9687a3efc3ef6390f8d0f827000b32.tar.zst
dexon-13447cec9b9687a3efc3ef6390f8d0f827000b32.zip
dex, core: Fix make fail (#24)
-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