remove error pragma
This commit is contained in:
parent
368176f8d1
commit
7d647c1555
|
@ -42,11 +42,11 @@ method listen*(t: Transport, ma: MultiAddress, handler: ConnHandler) {.base, asy
|
||||||
t.ma = ma
|
t.ma = ma
|
||||||
t.handler = handler
|
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
|
## dial a peer
|
||||||
discard
|
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
|
## check if transport supportes the multiaddress
|
||||||
# TODO: this should implement generic logic that would use the multicodec
|
# TODO: this should implement generic logic that would use the multicodec
|
||||||
# declared in the multicodec field and set by each individual transport
|
# declared in the multicodec field and set by each individual transport
|
||||||
|
|
Loading…
Reference in New Issue