core/types: derive block timestamp

Signed-off-by: tmelhao <tmelhao@gmail.com>
This commit is contained in:
tmelhao 2024-06-03 09:40:42 +00:00
parent 3906621e24
commit 3999f4a32d

View file

@ -370,6 +370,7 @@ func (rs Receipts) DeriveFields(config *params.ChainConfig, hash common.Hash, nu
rs[i].Logs[j].TxHash = rs[i].TxHash
rs[i].Logs[j].TxIndex = uint(i)
rs[i].Logs[j].Index = logIndex
rs[i].Logs[j].BlockTimestamp = time
logIndex++
}
}