@cryptotaxi247 / kubo / commits / 4b1900435

go-ipfs-config: explicitly import go-multiaddr-dns in config/bootstrap_peers

We need it to parse the dnsaddr addresses. While we import it elsewhere, we should really be importing it every where we need it so that other users can import our packages directly. fixes #5143 License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>

Steven Allen committed Jun 21, 2018 at 14:35 UTC 4b1900435f29e35df25c98f87042a9e348edcb4c
1 file changed +3
config/bootstrap_peers.go
+3
@@ -5,6 +5,9 @@ import (
5 "fmt"
6
7 iaddr "gx/ipfs/QmaKviZCLQrpuyFdSjteik7kJFcQpcyZgb1VuuwaCBBaEa/go-ipfs-addr"
8 + // Needs to be imported so that users can import this package directly
9 + // and still parse the bootstrap addresses.
10 + _ "gx/ipfs/QmT8461vVVyBPyHJHQ6mvm8UdQ8UZNA5n6Z7kBk7GRf1xu/go-multiaddr-dns"
11 )
12
13 // DefaultBootstrapAddresses are the hardcoded bootstrap addresses