diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-19 23:19:54 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-19 23:19:54 +0800 |
commit | 14a2f42f3700640f191e0095b50a266d2a919b38 (patch) | |
tree | e22528f68c7bdab57a8cdfbcddc29df06c15457a /core/chain_makers.go | |
parent | b52807f0c0ff1b89cc1d7172ce1b768a34d02b00 (diff) | |
download | dexon-14a2f42f3700640f191e0095b50a266d2a919b38.tar dexon-14a2f42f3700640f191e0095b50a266d2a919b38.tar.gz dexon-14a2f42f3700640f191e0095b50a266d2a919b38.tar.bz2 dexon-14a2f42f3700640f191e0095b50a266d2a919b38.tar.lz dexon-14a2f42f3700640f191e0095b50a266d2a919b38.tar.xz dexon-14a2f42f3700640f191e0095b50a266d2a919b38.tar.zst dexon-14a2f42f3700640f191e0095b50a266d2a919b38.zip |
fixed chain event. Closes #529
Diffstat (limited to 'core/chain_makers.go')
-rw-r--r-- | core/chain_makers.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go index 59c297dbe..d800dee34 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -4,8 +4,8 @@ import ( "fmt" "math/big" - "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/common" + "github.com/ethereum/go-ethereum/core/types" "github.com/ethereum/go-ethereum/event" "github.com/ethereum/go-ethereum/pow" "github.com/ethereum/go-ethereum/state" @@ -93,7 +93,7 @@ func makeChain(bman *BlockProcessor, parent *types.Block, max int, db common.Dat blocks := make(types.Blocks, max) for i := 0; i < max; i++ { block := makeBlock(bman, parent, i, db, seed) - td, err := bman.processWithParent(block, parent) + td, _, err := bman.processWithParent(block, parent) if err != nil { fmt.Println("process with parent failed", err) panic(err) |