From f56d925f6fb69fe7fccd5f37c15f4c505dd60303 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Tue, 27 Aug 2019 20:31:34 -0600 Subject: [PATCH] rename supports to handles --- libp2p/tcptransport.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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