mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-10 21:11:20 +00:00
fix_receipt_status (#2250)
This commit is contained in:
parent
6df7230108
commit
bfe4d97fae
@ -337,7 +337,7 @@ func marshalReceipt(receipt *types.Receipt, txn types.Transaction, chainConfig *
|
||||
fields["effectiveGasPrice"] = hexutil.Uint64(gasPrice.Uint64())
|
||||
}
|
||||
// Assign receipt status.
|
||||
fields["status"] = receipt.Status
|
||||
fields["status"] = hexutil.Uint64(receipt.Status)
|
||||
if receipt.Logs == nil {
|
||||
fields["logs"] = [][]*types.Log{}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user