Skip to content

Commit

Permalink
fixed system contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
MatusKysel committed Apr 26, 2024
1 parent adc54a1 commit 2d3629b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/parlia/parlia.go
Original file line number Diff line number Diff line change
Expand Up @@ -1576,13 +1576,13 @@ func (p *Parlia) applyTransaction(from libcommon.Address, to libcommon.Address,
if err != nil {
return err
}
*usedGas += gasUsed
receipt := types.NewReceipt(false, *usedGas)
receipt.TxHash = expectedTx.Hash()
receipt.GasUsed = gasUsed
if err := ibs.FinalizeTx(p.chainConfig.Rules(header.Number.Uint64(), header.Time), state.NewNoopWriter()); err != nil {
return err
}
*usedGas += gasUsed
*txs = append(*txs, expectedTx)
// Set the receipt logs and create a bloom for filtering
receipt.Logs = ibs.GetLogs(expectedTx.Hash())
Expand Down

0 comments on commit 2d3629b

Please sign in to comment.