Patch for concurrent iterator & others (onto v1.11.6) #386

Closed
roysc wants to merge 1565 commits from v1.11.6-statediff-v5 into master
Showing only changes of commit fb801d8837 - Show all commits

View File

@ -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
}