mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-11 21:04:11 +00:00
Fix EthTime json encode in chain_config.nim
This commit is contained in:
parent
edba847d42
commit
61abdac2d7
@ -77,7 +77,9 @@ CliqueOptions.useDefaultReaderIn JGenesis
|
||||
# ------------------------------------------------------------------------------
|
||||
# Private helper functions
|
||||
# ------------------------------------------------------------------------------
|
||||
proc writeValue(writer: var JsonWriter[JGenesis], value: Option[EthTime])
|
||||
|
||||
# used by chronicles json writer
|
||||
proc writeValue(writer: var JsonWriter, value: Option[EthTime])
|
||||
{.gcsafe, raises: [IOError].} =
|
||||
mixin writeValue
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user