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 =
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit b6a5096513fffbcf86658da8e92bef83a91d727a
|
||||
Subproject commit f2b10776dbdfab2986ef35499994028a6809250c
|
Loading…
Reference in New Issue