diff --git a/packages/interface-libp2p/src/index.ts b/packages/interface-libp2p/src/index.ts index 9d6bffcc6..da8f05b54 100644 --- a/packages/interface-libp2p/src/index.ts +++ b/packages/interface-libp2p/src/index.ts @@ -469,10 +469,4 @@ export interface Libp2p extends Startable, EventEmitter { * ``` */ fetch: (peer: PeerId | Multiaddr, key: string, options?: AbortOptions) => Promise - - /** - * Returns the public key for the passed PeerId. If the PeerId is of the 'RSA' type - * this may mean searching the DHT if the key is not present in the KeyStore. - */ - getPublicKey: (peer: PeerId, options?: AbortOptions) => Promise }