mirror of
https://github.com/fluencelabs/tendermint
synced 2025-08-01 04:31:57 +00:00
crypto: Remove Ed25519 and Secp256k1 suffix on GenPrivKey
This commit is contained in:
@@ -135,7 +135,7 @@ func MakeSwitch(cfg *config.P2PConfig, i int, network, version string, initSwitc
|
||||
// new switch, add reactors
|
||||
// TODO: let the config be passed in?
|
||||
nodeKey := &NodeKey{
|
||||
PrivKey: ed25519.GenPrivKeyEd25519(),
|
||||
PrivKey: ed25519.GenPrivKey(),
|
||||
}
|
||||
sw := NewSwitch(cfg)
|
||||
sw.SetLogger(log.TestingLogger())
|
||||
|
Reference in New Issue
Block a user