stop using the deprecated libp2p/go-maddr-filter
This commit is contained in:
parent
f3a1f6b22f
commit
15bb90236f
|
@ -1,7 +1,6 @@
|
|||
package swarm
|
||||
|
||||
import (
|
||||
filter "github.com/libp2p/go-maddr-filter"
|
||||
ma "github.com/multiformats/go-multiaddr"
|
||||
mamask "github.com/whyrusleeping/multiaddr-filter"
|
||||
)
|
||||
|
@ -31,6 +30,6 @@ func init() {
|
|||
if err != nil {
|
||||
panic("error in lowTimeoutFilters init: " + err.Error())
|
||||
}
|
||||
lowTimeoutFilters.AddFilter(*f, filter.ActionDeny)
|
||||
lowTimeoutFilters.AddFilter(*f, ma.ActionDeny)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue