From 95e689bc076f79afcb613daf50090f92988127bd Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 21 Jun 2018 14:35:43 -0700 Subject: [PATCH] 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 --- config/bootstrap_peers.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/bootstrap_peers.go b/config/bootstrap_peers.go index 74ca92e07cbc..2c12a8b65889 100644 --- a/config/bootstrap_peers.go +++ b/config/bootstrap_peers.go @@ -5,6 +5,9 @@ import ( "fmt" iaddr "gx/ipfs/QmaKviZCLQrpuyFdSjteik7kJFcQpcyZgb1VuuwaCBBaEa/go-ipfs-addr" + // Needs to be imported so that users can import this package directly + // and still parse the bootstrap addresses. + _ "gx/ipfs/QmT8461vVVyBPyHJHQ6mvm8UdQ8UZNA5n6Z7kBk7GRf1xu/go-multiaddr-dns" ) // DefaultBootstrapAddresses are the hardcoded bootstrap addresses