mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 14:34:17 +00:00
dial_persistent_peers -> dial_peers with persistent option
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user