From b7c5ae8a792604fe74455644a74fccf793e248f7 Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Wed, 14 Nov 2018 15:39:06 +0800 Subject: dex, core: Fix make fail (#24) --- core/blockchain.go | 2 +- 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 -- cgit v1.2.3