aboutsummaryrefslogtreecommitdiffstats
path: root/ethstats
diff options
context:
space:
mode:
authorkevin.xu <cming.xu@gmail.com>2018-06-29 20:15:38 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-06-29 20:15:38 +0800
commitfdfd6d3c3963b1b3459e4625458495458b11e8a7 (patch)
treea1faaa74a2f2cf98a82e83c5e981cc35c3ec5080 /ethstats
parente916f9786dd318ec873cab21c8092d4da2c8dd54 (diff)
downloaddexon-fdfd6d3c3963b1b3459e4625458495458b11e8a7.tar
dexon-fdfd6d3c3963b1b3459e4625458495458b11e8a7.tar.gz
dexon-fdfd6d3c3963b1b3459e4625458495458b11e8a7.tar.bz2
dexon-fdfd6d3c3963b1b3459e4625458495458b11e8a7.tar.lz
dexon-fdfd6d3c3963b1b3459e4625458495458b11e8a7.tar.xz
dexon-fdfd6d3c3963b1b3459e4625458495458b11e8a7.tar.zst
dexon-fdfd6d3c3963b1b3459e4625458495458b11e8a7.zip
ethstats: comment minor correction (#17102)
spell correction from `repors` to `reports`
Diffstat (limited to 'ethstats')
-rw-r--r--ethstats/ethstats.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethstats/ethstats.go b/ethstats/ethstats.go
index a4d35044c..9f3d7237e 100644
--- a/ethstats/ethstats.go
+++ b/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)