Fix ambiguous call newKeyPair

This commit is contained in:
Mamy André-Ratsimbazafy 2020-03-11 16:22:26 +01:00 committed by tersec
parent 28dc8a6a29
commit 88002ddb02

View File

@ -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()