aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/dial.go
diff options
context:
space:
mode:
authorMymskmkt <1847234666@qq.com>2018-08-23 16:47:43 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-23 16:47:43 +0800
commit1df1187d831a1c62f61e8c90901dc78b5f86943a (patch)
tree3677cce0d001c4538e2972800f6d8e36d0ed08f8 /p2p/dial.go
parentf34f361ca6635690f6dd81d6f3bddfff498e9fd6 (diff)
downloaddexon-1df1187d831a1c62f61e8c90901dc78b5f86943a.tar
dexon-1df1187d831a1c62f61e8c90901dc78b5f86943a.tar.gz
dexon-1df1187d831a1c62f61e8c90901dc78b5f86943a.tar.bz2
dexon-1df1187d831a1c62f61e8c90901dc78b5f86943a.tar.lz
dexon-1df1187d831a1c62f61e8c90901dc78b5f86943a.tar.xz
dexon-1df1187d831a1c62f61e8c90901dc78b5f86943a.tar.zst
dexon-1df1187d831a1c62f61e8c90901dc78b5f86943a.zip
p2p: fix comment typo (#17491)
Diffstat (limited to 'p2p/dial.go')
-rw-r--r--p2p/dial.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/dial.go b/p2p/dial.go
index d8feceb9f..4baca7d93 100644
--- a/p2p/dial.go
+++ b/p2p/dial.go
@@ -146,7 +146,7 @@ func newDialState(static []*discover.Node, bootnodes []*discover.Node, ntab disc
}
func (s *dialstate) addStatic(n *discover.Node) {
- // This overwites the task instead of updating an existing
+ // This overwrites the task instead of updating an existing
// entry, giving users the opportunity to force a resolve operation.
s.static[n.ID] = &dialTask{flags: staticDialedConn, dest: n}
}