Skip to content

Commit

Permalink
go-ipfs-config: explicitly import go-multiaddr-dns in config/bootstra…
Browse files Browse the repository at this point in the history
…p_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 ipfs#5143

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
  • Loading branch information
Stebalien committed Jun 21, 2018
1 parent 514edce commit 95e689b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/bootstrap_peers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95e689b

Please sign in to comment.