From a61ab2c0f13cacd9b8fc857eb29057c92d4cb1d0 Mon Sep 17 00:00:00 2001 From: star Date: Thu, 16 Dec 2021 21:21:31 +0800 Subject: [PATCH] remove duplicate io.Closer on Network interface (#228) --- network/network.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/network/network.go b/network/network.go index 3b8550e..0ce2b6f 100644 --- a/network/network.go +++ b/network/network.go @@ -145,8 +145,6 @@ type Network interface { // listens. It expands "any interface" addresses (/ip4/0.0.0.0, /ip6/::) to // use the known local interfaces. InterfaceListenAddresses() ([]ma.Multiaddr, error) - - io.Closer } // Dialer represents a service that can dial out to peers