rpc: Deserializing /block_results
with empty JSON consensus_param_updates
fails
#1440
Labels
bug
Something isn't working
What went wrong?
If the
/block_results
response has an empty JSON object for theconsensus_param_updates
instead ofnull
, the deserialization will fail.{"consensus_param_updates": {}}
: fails{"consensus_param_updates": null}
: succeeds, settingconsensus_param_updates
toNone
Definition of "done"
Deserializing an empty JSON object should also result in
consensus_param_updates
beingNone
The text was updated successfully, but these errors were encountered: