1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-27 16:07:42 +08:00

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>
This commit is contained in:
Steven Allen
2018-06-21 14:35:43 -07:00
parent 2a9de81e64
commit cf2be45873

View File

@ -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