remove duplicate io.Closer on Network interface (#228)

This commit is contained in:
star 2021-12-16 21:21:31 +08:00 committed by GitHub
parent 2711d5a459
commit a61ab2c0f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -145,8 +145,6 @@ type Network interface {
// listens. It expands "any interface" addresses (/ip4/0.0.0.0, /ip6/::) to // listens. It expands "any interface" addresses (/ip4/0.0.0.0, /ip6/::) to
// use the known local interfaces. // use the known local interfaces.
InterfaceListenAddresses() ([]ma.Multiaddr, error) InterfaceListenAddresses() ([]ma.Multiaddr, error)
io.Closer
} }
// Dialer represents a service that can dial out to peers // Dialer represents a service that can dial out to peers