mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 03:26:38 +00:00
ethstats: comment minor correction (#17102)
spell correction from `repors` to `reports`
This commit is contained in:
parent
e916f9786d
commit
fdfd6d3c39
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ func (s uncleStats) MarshalJSON() ([]byte, error) {
|
||||||
return []byte("[]"), nil
|
return []byte("[]"), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// reportBlock retrieves the current chain head and repors it to the stats server.
|
// reportBlock retrieves the current chain head and reports it to the stats server.
|
||||||
func (s *Service) reportBlock(conn *websocket.Conn, block *types.Block) error {
|
func (s *Service) reportBlock(conn *websocket.Conn, block *types.Block) error {
|
||||||
// Gather the block details from the header or block chain
|
// Gather the block details from the header or block chain
|
||||||
details := s.assembleBlockStats(block)
|
details := s.assembleBlockStats(block)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue