From a79a155c671b83adfd364c3c49052f4a55010065 Mon Sep 17 00:00:00 2001 From: ujscale Date: Thu, 7 Sep 2023 06:21:25 +0000 Subject: [PATCH] fixing typo --- libp2p/transports/tortransport.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libp2p/transports/tortransport.nim b/libp2p/transports/tortransport.nim index 57a5d3832..c28042b31 100644 --- a/libp2p/transports/tortransport.nim +++ b/libp2p/transports/tortransport.nim @@ -277,7 +277,7 @@ proc new*( torServer: TransportAddress, rng: ref HmacDrbgContext, addresses: seq[MultiAddress] = @[], - flags: set[ServerFlags] = {} + flags: set[ServerFlags] = {}, seckey: PrivateKey ): TorSwitch {.raises: [LPError], public.} = var builder = SwitchBuilder.new() @@ -300,7 +300,7 @@ proc new*( torSwitch.connManager.peerStore = switch.peerStore return torSwitch - + method addTransport*(s: TorSwitch, t: Transport) = doAssert(false, "not implemented!")