mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
core/types: Log.Index is the index of Block, not Receipt
This commit is contained in:
parent
c5cb214f68
commit
14c63ac5bd
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ type Log struct {
|
||||||
TxIndex uint `json:"transactionIndex" gencodec:"required"`
|
TxIndex uint `json:"transactionIndex" gencodec:"required"`
|
||||||
// hash of the block in which the transaction was included
|
// hash of the block in which the transaction was included
|
||||||
BlockHash common.Hash `json:"blockHash"`
|
BlockHash common.Hash `json:"blockHash"`
|
||||||
// index of the log in the receipt
|
// index of the log in the block
|
||||||
Index uint `json:"logIndex" gencodec:"required"`
|
Index uint `json:"logIndex" gencodec:"required"`
|
||||||
|
|
||||||
// The Removed field is true if this log was reverted due to a chain reorganisation.
|
// The Removed field is true if this log was reverted due to a chain reorganisation.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue