mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-23 13:00:34 +00:00
fix for the BN/VC communication - related to the lazy initialization of validator public keys
This commit is contained in:
parent
b13b04bd7b
commit
154c6bf8ee
@ -14,7 +14,7 @@ proc fromJson*(n: JsonNode, argName: string, result: var ValidatorPubKey) =
|
||||
result = ValidatorPubKey.fromHex(n.getStr()).tryGet()
|
||||
|
||||
proc `%`*(pubkey: ValidatorPubKey): JsonNode =
|
||||
result = newJString($pubkey)
|
||||
result = newJString($initPubKey(pubkey))
|
||||
|
||||
proc fromJson*(n: JsonNode, argName: string, result: var List) =
|
||||
fromJson(n, argName, asSeq result)
|
||||
|
Loading…
x
Reference in New Issue
Block a user