diff --git a/libp2p/tcptransport.nim b/libp2p/tcptransport.nim index 2bff235c6..7da7146de 100644 --- a/libp2p/tcptransport.nim +++ b/libp2p/tcptransport.nim @@ -61,4 +61,4 @@ method dial*(t: TcpTransport, let client: StreamTransport = await connect(address) result = await t.connHandler(t.server, client) -method supports(t: Transport, address: MultiAddress): bool = true +method handles*(t: Transport, address: MultiAddress): bool = true