mirror of https://github.com/vacp2p/nim-libp2p.git
rename supports to handles
This commit is contained in:
parent
e486b5e40c
commit
f56d925f6f
|
@ -61,4 +61,4 @@ method dial*(t: TcpTransport,
|
||||||
let client: StreamTransport = await connect(address)
|
let client: StreamTransport = await connect(address)
|
||||||
result = await t.connHandler(t.server, client)
|
result = await t.connHandler(t.server, client)
|
||||||
|
|
||||||
method supports(t: Transport, address: MultiAddress): bool = true
|
method handles*(t: Transport, address: MultiAddress): bool = true
|
||||||
|
|
Loading…
Reference in New Issue