Commit c9ea7288 authored by Steven Allen's avatar Steven Allen

chore: remove duplicate import

License: MIT
Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
parent 19cc7c92
......@@ -40,7 +40,6 @@ import (
ma "github.com/multiformats/go-multiaddr"
mplex "github.com/whyrusleeping/go-smux-multiplex"
yamux "github.com/whyrusleeping/go-smux-yamux"
"github.com/whyrusleeping/multiaddr-filter"
mamask "github.com/whyrusleeping/multiaddr-filter"
"go.uber.org/fx"
......@@ -98,7 +97,7 @@ func Peerstore(id peer.ID, sk crypto.PrivKey) peerstore.Peerstore {
func P2PAddrFilters(cfg *config.Config) (opts Libp2pOpts, err error) {
for _, s := range cfg.Swarm.AddrFilters {
f, err := mask.NewMask(s)
f, err := mamask.NewMask(s)
if err != nil {
return opts, fmt.Errorf("incorrectly formatted address filter in config: %s", s)
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment