mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +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:
parent
2a9de81e64
commit
cf2be45873
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user