mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 06:46:10 +00:00
Fix the bulds with json logging enabled
This commit is contained in:
parent
acd490916f
commit
957645d752
@ -452,6 +452,12 @@ template ethTimeUnit(typ: type) {.dirty.} =
|
||||
proc readValue*(reader: var JsonReader, value: var typ) =
|
||||
value = typ reader.readValue(uint64)
|
||||
|
||||
proc writeValue*(writer: var JsonWriter, value: ValidatorIndex) =
|
||||
writeValue(writer, uint32 value)
|
||||
|
||||
proc readValue*(reader: var JsonReader, value: var ValidatorIndex) =
|
||||
value = ValidatorIndex reader.readValue(uint32)
|
||||
|
||||
proc `%`*(i: uint64): JsonNode =
|
||||
% int(i)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user