Allow specification of initial IPAM ring via --ipam-seed

This commit is contained in:
Adam Harrison committed 2016-03-21 09:49:54 +00:00
1 parent 18ddf50b4c
commit e9081c6607
8 files changed
+126 -28

No files matched your search

+1 -1
View File
@@ -230,7 +230,7 @@ func (router *NetworkRouter) ForgetConnections(peers []string) {
func (router *NetworkRouter) InitialPeers(peers []string) ([]string, error) {
var storedPeers []string
if err := router.db.Load(peersIdent, &storedPeers); err != nil {
if _, err := router.db.Load(peersIdent, &storedPeers); err != nil {
return nil, err
}