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
Branches
Tags
Loading
......@@ -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.
Please register or to comment