mirror of
https://github.com/status-im/nim-libp2p.git
synced 2025-01-27 13:14:58 +00:00
remove useless error pragma
This commit is contained in:
parent
261204853e
commit
954a78fda0
@ -23,7 +23,7 @@ type
|
|||||||
handler*: ConnHandler
|
handler*: ConnHandler
|
||||||
multicodec*: MultiCodec
|
multicodec*: MultiCodec
|
||||||
|
|
||||||
method init*(t: Transport) {.base, error: "not implemented".} =
|
method init*(t: Transport) {.base.} =
|
||||||
## perform protocol initialization
|
## perform protocol initialization
|
||||||
discard
|
discard
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ method dial*(t: Transport,
|
|||||||
## dial a peer
|
## dial a peer
|
||||||
discard
|
discard
|
||||||
|
|
||||||
method supports(t: Transport, address: MultiAddress): bool {.base.} =
|
method handles*(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…
x
Reference in New Issue
Block a user