From 7d647c155537dab0ab293977d16fe685bdccce36 Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Thu, 22 Aug 2019 18:03:55 -0600 Subject: [PATCH] remove error pragma --- libp2p/transport.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libp2p/transport.nim b/libp2p/transport.nim index 76286e14a..825da2367 100644 --- a/libp2p/transport.nim +++ b/libp2p/transport.nim @@ -42,11 +42,11 @@ method listen*(t: Transport, ma: MultiAddress, handler: ConnHandler) {.base, asy t.ma = ma t.handler = handler -method dial*(t: Transport, address: MultiAddress): Future[Connection] {.base, async, error: "not implemented".} = +method dial*(t: Transport, address: MultiAddress): Future[Connection] {.base, async.} = ## dial a peer discard -method supports(t: Transport, address: MultiAddress): bool {.base, error: "not implemented".} = +method supports(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