mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
core/types: derive block timestamp
Signed-off-by: tmelhao <tmelhao@gmail.com>
This commit is contained in:
parent
3906621e24
commit
3999f4a32d
1 changed files with 1 additions and 0 deletions
|
|
@ -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++
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue