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:
Sacha Saint-Leger 2020-11-02 19:48:37 +01:00 committed by zah
parent 6ee80651c7
commit 36b54fe091
1 changed files with 1 additions and 1 deletions

View File

@ -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 =