orion-server icon indicating copy to clipboard operation
orion-server copied to clipboard

remove `omitempty` from the proto messages

Open cendhu opened this issue 3 years ago • 0 comments

When we have a default value for fields in the proto message, the JSON marshal does not include the field in the output due to omitempty. For example, when we have tx_num = 0 as the version, this field is not shown and when the transaction is valid, the validation info is empty, etc...

cendhu avatar Jul 12 '21 11:07 cendhu