aboutsummaryrefslogtreecommitdiffstats
path: root/consensus/clique/snapshot_test.go
diff options
context:
space:
mode:
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.