diff --git a/peerstore/peerstore.go b/peerstore/peerstore.go index 2e1b64498982a72954c2b35414db7118131213b5..7f2c01c9ddb52c064a59096a326d570d3f8b1013 100644 --- a/peerstore/peerstore.go +++ b/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) }