good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 4deebaed authored by Jaynti Kanani's avatar Jaynti Kanani
Browse files

repeat log for test

parent f5c8b157
No related branches found
No related tags found
No related merge requests found
......@@ -125,5 +125,12 @@ 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
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment