提交 cf2be458 作者: Steven Allen

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: 's avatarSteven Allen <steven@stebalien.com>
上级 2a9de81e
......@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论