From 954a78fda0ad260d95cf80ec71a8f7b7f5344cc7 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Tue, 27 Aug 2019 20:32:20 -0600 Subject: [PATCH] remove useless error pragma --- libp2p/transport.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libp2p/transport.nim b/libp2p/transport.nim index 3fc580c75..1b595e31c 100644 --- a/libp2p/transport.nim +++ b/libp2p/transport.nim @@ -23,7 +23,7 @@ type handler*: ConnHandler multicodec*: MultiCodec -method init*(t: Transport) {.base, error: "not implemented".} = +method init*(t: Transport) {.base.} = ## perform protocol initialization discard @@ -49,7 +49,7 @@ method dial*(t: Transport, ## dial a peer discard -method supports(t: Transport, address: MultiAddress): bool {.base.} = +method handles*(t: Transport, address: MultiAddress): bool {.base.} = ## check if transport supportes the multiaddress # TODO: this should implement generic logic that would use the multicodec # declared in the multicodec field and set by each individual transport