Skip to content

Commit

Permalink
fix(bootstrap peers): fix network not ever contacting bootstrap peers
Browse files Browse the repository at this point in the history
well, this one is funny. In a refactor a while ago, I missed switching
conf.BoostrapAddrs -> conf.QriBootstrapAddrs. The result of this oversight
is qri connect bootstraps to *no* peers, which means the network seems
empty. Sad emoji. Programming is hard.
  • Loading branch information
b5 committed Oct 30, 2018
1 parent 8764ddf commit f9074b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func (n *QriNode) StartDiscovery(bootstrapPeers chan pstore.PeerInfo) error {
// Check our existing peerstore for any potential friends
go n.DiscoverPeerstoreQriPeers(n.host.Peerstore())
// Boostrap off of default addresses
go n.Bootstrap(n.cfg.BootstrapAddrs, bootstrapPeers)
go n.Bootstrap(n.cfg.QriBootstrapAddrs, bootstrapPeers)
// Bootstrap to IPFS network if this node is using an IPFS fs
go n.BootstrapIPFS()

Expand Down

0 comments on commit f9074b0

Please sign in to comment.