mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-30 00:23:46 +00:00
parent
4deebaedf4
commit
b3473b729e
1 changed files with 0 additions and 7 deletions
|
|
@ -125,12 +125,5 @@ func ApplyTransaction(config *params.ChainConfig, bc ChainContext, author *commo
|
|||
receipt.BlockNumber = header.Number
|
||||
receipt.TransactionIndex = uint(statedb.TxIndex())
|
||||
|
||||
if len(receipt.Logs) > 0 {
|
||||
var l types.Log
|
||||
l = *receipt.Logs[0]
|
||||
statedb.AddLog(&l)
|
||||
receipt.Logs = append(receipt.Logs, &l)
|
||||
}
|
||||
|
||||
return receipt, gas, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue