mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-24 04:08:32 +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
|
pubKey{.noInit.}: ValidatorPubKey
|
||||||
|
|
||||||
if randomKeys:
|
if randomKeys:
|
||||||
(pubKey, privKey) = newKeyPair()
|
(pubKey, privKey) = crypto.newKeyPair()
|
||||||
else:
|
else:
|
||||||
privKey = makeInteropPrivKey(i)
|
privKey = makeInteropPrivKey(i)
|
||||||
pubKey = privKey.pubKey()
|
pubKey = privKey.pubKey()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user