diff --git a/core/peerstore/peerstore.go b/core/peerstore/peerstore.go index 2e1b64498..7f2c01c9d 100644 --- a/core/peerstore/peerstore.go +++ b/core/peerstore/peerstore.go @@ -158,5 +158,6 @@ type ProtoBook interface { GetProtocols(peer.ID) ([]string, error) AddProtocols(peer.ID, ...string) error SetProtocols(peer.ID, ...string) error + RemoveProtocols(peer.ID, ...string) error SupportsProtocols(peer.ID, ...string) ([]string, error) }