Unverified Commit fb801d88 authored by Nikita Kozhemyakin's avatar Nikita Kozhemyakin Committed by GitHub

mobile: fix receipt encoding to json (#24701)

parent 4024c1e8
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment