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:
@ -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
|
||||
|
Reference in New Issue
Block a user