fixing typo
This commit is contained in:
parent
5aaae38769
commit
a79a155c67
|
@ -277,7 +277,7 @@ proc new*(
|
||||||
torServer: TransportAddress,
|
torServer: TransportAddress,
|
||||||
rng: ref HmacDrbgContext,
|
rng: ref HmacDrbgContext,
|
||||||
addresses: seq[MultiAddress] = @[],
|
addresses: seq[MultiAddress] = @[],
|
||||||
flags: set[ServerFlags] = {}
|
flags: set[ServerFlags] = {},
|
||||||
seckey: PrivateKey ): TorSwitch
|
seckey: PrivateKey ): TorSwitch
|
||||||
{.raises: [LPError], public.} =
|
{.raises: [LPError], public.} =
|
||||||
var builder = SwitchBuilder.new()
|
var builder = SwitchBuilder.new()
|
||||||
|
@ -300,7 +300,7 @@ proc new*(
|
||||||
|
|
||||||
torSwitch.connManager.peerStore = switch.peerStore
|
torSwitch.connManager.peerStore = switch.peerStore
|
||||||
return torSwitch
|
return torSwitch
|
||||||
|
|
||||||
method addTransport*(s: TorSwitch, t: Transport) =
|
method addTransport*(s: TorSwitch, t: Transport) =
|
||||||
doAssert(false, "not implemented!")
|
doAssert(false, "not implemented!")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue