aboutsummaryrefslogtreecommitdiffstats
path: root/consensus/clique/snapshot_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2018-08-21 19:39:28 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-21 20:21:59 +0800
commit9f036647e4b3e7c3aa8941dc239f85326a5e5ecd (patch)
tree4a9062b5300e326ad773c0dc010f7d7606480eaa /consensus/clique/snapshot_test.go
parent355fc47d396298bccf93c37bdbba9b9e88864790 (diff)
downloaddexon-9f036647e4b3e7c3aa8941dc239f85326a5e5ecd.tar.gz
dexon-9f036647e4b3e7c3aa8941dc239f85326a5e5ecd.tar.zst
dexon-9f036647e4b3e7c3aa8941dc239f85326a5e5ecd.zip
consensus/clique, light: light client snapshots on Rinkeby
Diffstat (limited to 'consensus/clique/snapshot_test.go')
-rw-r--r--consensus/clique/snapshot_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/consensus/clique/snapshot_test.go b/consensus/clique/snapshot_test.go
index 5ac730c9e..17719884f 100644
--- a/consensus/clique/snapshot_test.go
+++ b/consensus/clique/snapshot_test.go
@@ -84,7 +84,7 @@ func (r *testerChainReader) GetHeaderByNumber(number uint64) *types.Header {
if number == 0 {
return rawdb.ReadHeader(r.db, rawdb.ReadCanonicalHash(r.db, 0), 0)
}
- panic("not supported")
+ return nil
}
// Tests that voting is evaluated correctly for various simple and complex scenarios.