aboutsummaryrefslogtreecommitdiffstats
path: root/les
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-01-07 02:03:44 +0800
committerGitHub <noreply@github.com>2017-01-07 02:03:44 +0800
commit17182732f50c9cd209a0472bf0944c4029335f14 (patch)
treef346aa2c1de4c873ba7d7bf847225b2c319c5694 /les
parentac93a6ff6cd1200ab0fb67a5bd0c02cb70646632 (diff)
parent18c77744ff4ad0bc385a4c8b50d28c2a6fde8e00 (diff)
downloaddexon-17182732f50c9cd209a0472bf0944c4029335f14.tar
dexon-17182732f50c9cd209a0472bf0944c4029335f14.tar.gz
dexon-17182732f50c9cd209a0472bf0944c4029335f14.tar.bz2
dexon-17182732f50c9cd209a0472bf0944c4029335f14.tar.lz
dexon-17182732f50c9cd209a0472bf0944c4029335f14.tar.xz
dexon-17182732f50c9cd209a0472bf0944c4029335f14.tar.zst
dexon-17182732f50c9cd209a0472bf0944c4029335f14.zip
Merge pull request #3526 from karalabe/misspell
all: fix spelling errors
Diffstat (limited to 'les')
-rw-r--r--les/metrics.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/les/metrics.go b/les/metrics.go
index aa0796790..0162a1d1a 100644
--- a/les/metrics.go
+++ b/les/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