aboutsummaryrefslogtreecommitdiffstats
path: root/eth/metrics.go
diff options
context:
space:
mode:
Diffstat (limited to 'eth/metrics.go')
-rw-r--r--eth/metrics.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/metrics.go b/eth/metrics.go
index 8231a06ff..e1a89d3a9 100644
--- a/eth/metrics.go
+++ b/eth/metrics.go
@@ -72,7 +72,7 @@ type meteredMsgReadWriter struct {
}
// newMeteredMsgWriter wraps a p2p MsgReadWriter with metering support. If the
-// metrics system is disabled, this fucntion returns the original object.
+// metrics system is disabled, this function returns the original object.
func newMeteredMsgWriter(rw p2p.MsgReadWriter) p2p.MsgReadWriter {
if !metrics.Enabled {
return rw