core, eth, les, light: get rid of redundant methods
This commit is contained in:
@ -120,7 +120,7 @@ func (t *BlockTest) Run() error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
cmlast := chain.LastBlockHash()
|
||||
cmlast := chain.CurrentBlock().Hash()
|
||||
if common.Hash(t.json.BestBlock) != cmlast {
|
||||
return fmt.Errorf("last block hash validation mismatch: want: %x, have: %x", t.json.BestBlock, cmlast)
|
||||
}
|
||||
|
Reference in New Issue
Block a user