mobile: fix receipt encoding to json (#24701)
This commit is contained in:
parent
30c695c5e2
commit
6aae1bcc81
@ -358,7 +358,7 @@ func NewReceiptFromJSON(data string) (*Receipt, error) {
|
||||
|
||||
// EncodeJSON encodes a transaction receipt into a JSON data dump.
|
||||
func (r *Receipt) EncodeJSON() (string, error) {
|
||||
data, err := rlp.EncodeToBytes(r.receipt)
|
||||
data, err := json.Marshal(r.receipt)
|
||||
return string(data), err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user