mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 19:50:36 +00:00
fixed ethstats (#3951)
This commit is contained in:
parent
5e1900cc48
commit
8742141792
@ -503,6 +503,9 @@ func (s *Service) reportBlock(conn *connWrapper, block *types.Block) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
if block == nil {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
td, err := rawdb.ReadTd(roTx, block.Hash(), block.NumberU64())
|
td, err := rawdb.ReadTd(roTx, block.Hash(), block.NumberU64())
|
||||||
|
Loading…
Reference in New Issue
Block a user