use encode_hex
This commit is contained in:
parent
9a9dbcd95e
commit
a0b9d22fad
|
@ -30,7 +30,7 @@ def generate_validator_keypairs(N: int) -> List[Dict]:
|
|||
) % CURVE_ORDER
|
||||
keypairs.append({
|
||||
'privkey': int_to_hex(privkey),
|
||||
'pubkey': '0x' + privtopub(privkey).hex(),
|
||||
'pubkey': encode_hex(privtopub(privkey)),
|
||||
})
|
||||
return keypairs
|
||||
|
||||
|
|
Loading…
Reference in New Issue