dial_persistent_peers -> dial_peers with persistent option

This commit is contained in:
Ethan Buchman
2018-01-13 14:50:58 -05:00
parent e6b70baae0
commit e2b3b5b58c
8 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ func (sw *Switch) DialPeersAsync(addrBook *AddrBook, peers []string, persistent
}
if addrBook != nil {
// add persistent peers to `addrBook`
// add peers to `addrBook`
ourAddrS := sw.nodeInfo.ListenAddr
ourAddr, _ := NewNetAddressString(ourAddrS)
for _, netAddr := range netAddrs {