Update eth2_network.nim
More informative and friendlier log message (from the user's perspective). Also helps avoid the potential for confusion with the validator key.
This commit is contained in:
parent
6ee80651c7
commit
36b54fe091
|
@ -1268,7 +1268,7 @@ proc getPersistentNetKeys*(rng: var BrHmacDrbgContext,
|
|||
quit QuitFailure
|
||||
let privKey = res.get()
|
||||
let pubKey = privKey.getKey().tryGet()
|
||||
info "Using random network key", network_public_key = pubKey
|
||||
info "Generating a random Peer ID to protect your privacy", network_public_key = pubKey
|
||||
return KeyPair(seckey: privKey, pubkey: privKey.getKey().tryGet())
|
||||
else:
|
||||
let keyPath =
|
||||
|
|
Loading…
Reference in New Issue