aboutsummaryrefslogtreecommitdiffstats
path: root/eth/handler_test.go
diff options
context:
space:
mode:
authorgary rong <garyrong0905@gmail.com>2018-09-20 20:09:30 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-09-20 20:09:30 +0800
commitd6254f827bf493c1471a806b7b8a0e9b86c8c420 (patch)
treee8cd05de67e506ee1b1b12d2b9468952179d1670 /eth/handler_test.go
parentf89dce0126f92eb5f3245f6b8e8b1e3ac13641b3 (diff)
downloadgo-tangerine-d6254f827bf493c1471a806b7b8a0e9b86c8c420.tar
go-tangerine-d6254f827bf493c1471a806b7b8a0e9b86c8c420.tar.gz
go-tangerine-d6254f827bf493c1471a806b7b8a0e9b86c8c420.tar.bz2
go-tangerine-d6254f827bf493c1471a806b7b8a0e9b86c8c420.tar.lz
go-tangerine-d6254f827bf493c1471a806b7b8a0e9b86c8c420.tar.xz
go-tangerine-d6254f827bf493c1471a806b7b8a0e9b86c8c420.tar.zst
go-tangerine-d6254f827bf493c1471a806b7b8a0e9b86c8c420.zip
all: protect self-mined block during reorg (#17656)
Diffstat (limited to 'eth/handler_test.go')
-rw-r--r--eth/handler_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/handler_test.go b/eth/handler_test.go
index dfaee2a15..0885a0448 100644
--- a/eth/handler_test.go
+++ b/eth/handler_test.go
@@ -472,7 +472,7 @@ func testDAOChallenge(t *testing.T, localForked, remoteForked bool, timeout bool
config = &params.ChainConfig{DAOForkBlock: big.NewInt(1), DAOForkSupport: localForked}
gspec = &core.Genesis{Config: config}
genesis = gspec.MustCommit(db)
- blockchain, _ = core.NewBlockChain(db, nil, config, pow, vm.Config{})
+ blockchain, _ = core.NewBlockChain(db, nil, config, pow, vm.Config{}, nil)
)
pm, err := NewProtocolManager(config, downloader.FullSync, DefaultConfig.NetworkId, evmux, new(testTxPool), pow, blockchain, db)
if err != nil {