From cf2be458736128dcaa74f0dbb5f7cf455b2f16a9 Mon Sep 17 00:00:00 2001
From: Steven Allen <steven@stebalien.com>
Date: Thu, 21 Jun 2018 14:35:43 -0700
Subject: [PATCH] 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>
---
 repo/config/bootstrap_peers.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/repo/config/bootstrap_peers.go b/repo/config/bootstrap_peers.go
index 74ca92e07..2c12a8b65 100644
--- a/repo/config/bootstrap_peers.go
+++ b/repo/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