use ECDSA as defaults, faster in tests

This commit is contained in:
Dmitriy Ryajov 2020-01-07 02:04:33 -06:00
parent 667691f784
commit 007b0219f3
1 changed files with 1 additions and 1 deletions

View File

@ -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))]