mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-02-25 18:35:32 +00:00
fix tracer regression
This commit is contained in:
parent
9c31980b79
commit
b303786128
@ -103,8 +103,9 @@ proc traceTransaction*(db: BaseChainDB, header: BlockHeader,
|
||||
beforeRoot = stateDb.rootHash
|
||||
|
||||
gasUsed = processTransaction(tx, sender, vmState)
|
||||
let txFee = gasUsed.u256 * tx.gasPrice.u256
|
||||
stateDb.addBalance(header.coinbase, txFee)
|
||||
vmState.mutateStateDB:
|
||||
let txFee = gasUsed.u256 * tx.gasPrice.u256
|
||||
db.addBalance(header.coinbase, txFee)
|
||||
|
||||
if idx == txIndex:
|
||||
after.captureAccount(stateDb, sender, senderName)
|
||||
|
Loading…
x
Reference in New Issue
Block a user