diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-10-10 16:54:47 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-10-10 16:54:47 +0800 |
commit | d3beff7e209cd82bcd044f51501886d926ce1b8a (patch) | |
tree | d4c0b3ce4748db4a1c22e6f9d3363eaed3e6384c /consensus/clique/snapshot_test.go | |
parent | 40a3856af9d28fce6550509a01cf926525da5d22 (diff) | |
download | dexon-d3beff7e209cd82bcd044f51501886d926ce1b8a.tar dexon-d3beff7e209cd82bcd044f51501886d926ce1b8a.tar.gz dexon-d3beff7e209cd82bcd044f51501886d926ce1b8a.tar.bz2 dexon-d3beff7e209cd82bcd044f51501886d926ce1b8a.tar.lz dexon-d3beff7e209cd82bcd044f51501886d926ce1b8a.tar.xz dexon-d3beff7e209cd82bcd044f51501886d926ce1b8a.tar.zst dexon-d3beff7e209cd82bcd044f51501886d926ce1b8a.zip |
consensus/clique: add fork hash enforcement (#15236)
Diffstat (limited to 'consensus/clique/snapshot_test.go')
-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 f18934b89..a1717d799 100644 --- a/consensus/clique/snapshot_test.go +++ b/consensus/clique/snapshot_test.go @@ -74,7 +74,7 @@ type testerChainReader struct { db ethdb.Database } -func (r *testerChainReader) Config() *params.ChainConfig { panic("not supported") } +func (r *testerChainReader) Config() *params.ChainConfig { return params.AllProtocolChanges } func (r *testerChainReader) CurrentHeader() *types.Header { panic("not supported") } func (r *testerChainReader) GetHeader(common.Hash, uint64) *types.Header { panic("not supported") } func (r *testerChainReader) GetBlock(common.Hash, uint64) *types.Block { panic("not supported") } |