diff options
author | gary rong <garyrong0905@gmail.com> | 2018-09-20 20:09:30 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-09-20 20:09:30 +0800 |
commit | d6254f827bf493c1471a806b7b8a0e9b86c8c420 (patch) | |
tree | e8cd05de67e506ee1b1b12d2b9468952179d1670 /tests/block_test_util.go | |
parent | f89dce0126f92eb5f3245f6b8e8b1e3ac13641b3 (diff) | |
download | dexon-d6254f827bf493c1471a806b7b8a0e9b86c8c420.tar dexon-d6254f827bf493c1471a806b7b8a0e9b86c8c420.tar.gz dexon-d6254f827bf493c1471a806b7b8a0e9b86c8c420.tar.bz2 dexon-d6254f827bf493c1471a806b7b8a0e9b86c8c420.tar.lz dexon-d6254f827bf493c1471a806b7b8a0e9b86c8c420.tar.xz dexon-d6254f827bf493c1471a806b7b8a0e9b86c8c420.tar.zst dexon-d6254f827bf493c1471a806b7b8a0e9b86c8c420.zip |
all: protect self-mined block during reorg (#17656)
Diffstat (limited to 'tests/block_test_util.go')
-rw-r--r-- | tests/block_test_util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/block_test_util.go b/tests/block_test_util.go index 2db47da57..427a94958 100644 --- a/tests/block_test_util.go +++ b/tests/block_test_util.go @@ -111,7 +111,7 @@ func (t *BlockTest) Run() error { return fmt.Errorf("genesis block state root does not match test: computed=%x, test=%x", gblock.Root().Bytes()[:6], t.json.Genesis.StateRoot[:6]) } - chain, err := core.NewBlockChain(db, nil, config, ethash.NewShared(), vm.Config{}) + chain, err := core.NewBlockChain(db, nil, config, ethash.NewShared(), vm.Config{}, nil) if err != nil { return err } |