diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-11-14 15:39:06 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:53 +0800 |
commit | b7c5ae8a792604fe74455644a74fccf793e248f7 (patch) | |
tree | 2bdb1bae091e1babce728c073d9159401bab8e20 | |
parent | 2cbbadc739c79b2fb488a6e7e0ac7593ac469737 (diff) | |
download | go-tangerine-b7c5ae8a792604fe74455644a74fccf793e248f7.tar go-tangerine-b7c5ae8a792604fe74455644a74fccf793e248f7.tar.gz go-tangerine-b7c5ae8a792604fe74455644a74fccf793e248f7.tar.bz2 go-tangerine-b7c5ae8a792604fe74455644a74fccf793e248f7.tar.lz go-tangerine-b7c5ae8a792604fe74455644a74fccf793e248f7.tar.xz go-tangerine-b7c5ae8a792604fe74455644a74fccf793e248f7.tar.zst go-tangerine-b7c5ae8a792604fe74455644a74fccf793e248f7.zip |
dex, core: Fix make fail (#24)
-rw-r--r-- | core/blockchain.go | 2 | ||||
-rw-r--r-- | dex/app.go | 2 |
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 |