consensus/clique, light: light client snapshots on Rinkeby

This commit is contained in:
Péter Szilágyi
2018-08-21 14:39:28 +03:00
parent 355fc47d39
commit 9f036647e4
5 changed files with 53 additions and 40 deletions

View File

@ -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.