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…
Reference in New Issue