mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-31 00:36:10 +00:00
Use Secp256k1 keys in accordance to the interop spec
This commit is contained in:
parent
cdff79ec6d
commit
c3adac44f2
@ -146,7 +146,7 @@ else:
|
||||
result = conf.dataDir / networkKeyFilename
|
||||
if not fileExists(result):
|
||||
createDir conf.dataDir.string
|
||||
let pk = PrivateKey.random(Ed25519)
|
||||
let pk = PrivateKey.random(Secp256k1)
|
||||
writeFile(result, pk.getBytes)
|
||||
|
||||
proc getPersistentNetIdentity*(conf: BeaconNodeConf): Eth2NodeIdentity =
|
||||
|
2
vendor/nim-libp2p
vendored
2
vendor/nim-libp2p
vendored
@ -1 +1 @@
|
||||
Subproject commit b6a5096513fffbcf86658da8e92bef83a91d727a
|
||||
Subproject commit f2b10776dbdfab2986ef35499994028a6809250c
|
Loading…
x
Reference in New Issue
Block a user