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 /consensus | |
parent | f89dce0126f92eb5f3245f6b8e8b1e3ac13641b3 (diff) | |
download | go-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 'consensus')
-rw-r--r-- | consensus/clique/snapshot_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/consensus/clique/snapshot_test.go b/consensus/clique/snapshot_test.go index 71fe7ce8b..41dae1426 100644 --- a/consensus/clique/snapshot_test.go +++ b/consensus/clique/snapshot_test.go @@ -448,7 +448,7 @@ func TestClique(t *testing.T) { batches[len(batches)-1] = append(batches[len(batches)-1], block) } // Pass all the headers through clique and ensure tallying succeeds - chain, err := core.NewBlockChain(db, nil, &config, engine, vm.Config{}) + chain, err := core.NewBlockChain(db, nil, &config, engine, vm.Config{}, nil) if err != nil { t.Errorf("test %d: failed to create test chain: %v", i, err) continue |