use ECDSA as defaults, faster in tests
This commit is contained in:
parent
667691f784
commit
007b0219f3
|
@ -17,7 +17,7 @@ proc newStandardSwitch*(privKey = none(PrivateKey),
|
|||
result = newMplex(conn)
|
||||
|
||||
let
|
||||
seckey = privKey.get(otherwise = PrivateKey.random(RSA))
|
||||
seckey = privKey.get(otherwise = PrivateKey.random(ECDSA))
|
||||
peerInfo = PeerInfo.init(seckey, @[address])
|
||||
mplexProvider = newMuxerProvider(createMplex, MplexCodec)
|
||||
transports = @[Transport(newTransport(TcpTransport))]
|
||||
|
|
Loading…
Reference in New Issue