Skip to content

Commit

Permalink
Fix "feeCurrency" included in non-Celo marshalled tx JSON (#121)
Browse files Browse the repository at this point in the history
Fixes #117
  • Loading branch information
ezdac authored and karlb committed May 15, 2024
1 parent d557979 commit 65309c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/types/transaction_marshalling.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type txJSON struct {
Hash common.Hash `json:"hash"`

// Celo specific fields
FeeCurrency *common.Address `json:"feeCurrency"` // nil means native currency
FeeCurrency *common.Address `json:"feeCurrency,omitempty"` // nil means native currency
}

// yParityValue returns the YParity value from JSON. For backwards-compatibility reasons,
Expand Down

0 comments on commit 65309c6

Please sign in to comment.