p2p: fix comment typo (#17491)

pull/17502/head
Mymskmkt 6 years ago committed by Péter Szilágyi
parent f34f361ca6
commit 1df1187d83
  1. 2
      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}
}

Loading…
Cancel
Save