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
cf2be458736128dcaa74f0dbb5f7cf455b2f16a9
1 file changed
+3
repo/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