mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-23 11:48:33 +00:00
Fix ambiguous call newKeyPair
This commit is contained in:
parent
28dc8a6a29
commit
88002ddb02
@ -42,7 +42,7 @@ proc generateDeposits*(totalValidators: int,
|
||||
pubKey{.noInit.}: ValidatorPubKey
|
||||
|
||||
if randomKeys:
|
||||
(pubKey, privKey) = newKeyPair()
|
||||
(pubKey, privKey) = crypto.newKeyPair()
|
||||
else:
|
||||
privKey = makeInteropPrivKey(i)
|
||||
pubKey = privKey.pubKey()
|
||||
|
Loading…
x
Reference in New Issue
Block a user