Przeglądaj źródła

ethstats: comment minor correction (#17102)

spell correction from `repors` to `reports`
kevin.xu 7 lat temu
rodzic
commit
fdfd6d3c39
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      ethstats/ethstats.go

+ 1 - 1
ethstats/ethstats.go

@@ -499,7 +499,7 @@ func (s uncleStats) MarshalJSON() ([]byte, error) {
 	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 {
 	// Gather the block details from the header or block chain
 	details := s.assembleBlockStats(block)