mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
fix hooks.OnTxEnd that is passing receipt=nil
This commit is contained in:
parent
c4f0450710
commit
5274d292ae
1 changed files with 2 additions and 1 deletions
|
|
@ -161,7 +161,8 @@ func ApplyTransactionWithEVM(msg *Message, gp *GasPool, statedb *state.StateDB,
|
|||
statedb.AccessEvents().Merge(evm.AccessEvents)
|
||||
}
|
||||
|
||||
return MakeReceipt(evm, result, statedb, blockNumber, blockHash, tx, *usedGas, root), nil
|
||||
receipt = MakeReceipt(evm, result, statedb, blockNumber, blockHash, tx, *usedGas, root)
|
||||
return receipt, nil
|
||||
}
|
||||
|
||||
// MakeReceipt generates the receipt object for a transaction given its execution result.
|
||||
|
|
|
|||
Loading…
Reference in a new issue