Revert "repeat log for test"

This reverts commit 4deebaedf4.
This commit is contained in:
Jaynti Kanani 2019-10-03 21:05:24 +05:30
parent 4deebaedf4
commit b3473b729e
No known key found for this signature in database
GPG key ID: 4396982C976BAE5E

View file

@ -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
}