wip addrbook

This commit is contained in:
Ethan Buchman
2018-01-20 19:12:04 -05:00
parent 930fde056a
commit 03550c7076
7 changed files with 368 additions and 206 deletions

View File

@ -332,7 +332,6 @@ func (sw *Switch) DialPeersAsync(addrBook *AddrBook, peers []string, persistent
}
addrBook.AddAddress(netAddr, ourAddr)
}
addrBook.Save()
}
// permute the list, dial them in random order.