diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-11-14 15:39:06 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:18 +0800 |
commit | 4e0dcae8713065ad72fa8b01099f18722ec5c1eb (patch) | |
tree | 73f061a05469fe8edd9a05ba0a46327d01dd395f | |
parent | d151e9b72c3af7570c14ba3e9bc773e33a6c1e73 (diff) | |
download | go-tangerine-4e0dcae8713065ad72fa8b01099f18722ec5c1eb.tar go-tangerine-4e0dcae8713065ad72fa8b01099f18722ec5c1eb.tar.gz go-tangerine-4e0dcae8713065ad72fa8b01099f18722ec5c1eb.tar.bz2 go-tangerine-4e0dcae8713065ad72fa8b01099f18722ec5c1eb.tar.lz go-tangerine-4e0dcae8713065ad72fa8b01099f18722ec5c1eb.tar.xz go-tangerine-4e0dcae8713065ad72fa8b01099f18722ec5c1eb.tar.zst go-tangerine-4e0dcae8713065ad72fa8b01099f18722ec5c1eb.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 |