Skip to content

Commit

Permalink
omit empty
Browse files Browse the repository at this point in the history
  • Loading branch information
miiu96 committed Jan 31, 2023
1 parent efd8d1a commit ebccba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/transaction/apiTransactionResult.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type ApiTransactionResult struct {
ReceiverUsername []byte `json:"receiverUsername,omitempty"`
GasPrice uint64 `json:"gasPrice,omitempty"`
GasLimit uint64 `json:"gasLimit,omitempty"`
GasUsed uint64 `json:"gasUsed"`
GasUsed uint64 `json:"gasUsed,omitempty"`
Data []byte `json:"data,omitempty"`
CodeMetadata []byte `json:"codeMetadata,omitempty"`
Code string `json:"code,omitempty"`
Expand Down Expand Up @@ -58,7 +58,7 @@ type ApiTransactionResult struct {
Operation string `json:"operation,omitempty"`
Function string `json:"function,omitempty"`
InitiallyPaidFee string `json:"initiallyPaidFee,omitempty"`
Fee string `json:"fee"`
Fee string `json:"fee,omitempty"`
IsRelayed bool `json:"isRelayed,omitempty"`
IsRefund bool `json:"isRefund,omitempty"`
CallType string `json:"callType,omitempty"`
Expand Down

0 comments on commit ebccba0

Please sign in to comment.