Skip to content

Commit 31c4e3a

Browse files
jsvisafjl
authored andcommitted
core/types: Log.Index is the index in block, not receipt (#17866)
1 parent 1d3d4a4 commit 31c4e3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎core/types/log.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type Log struct {
4747
TxIndex uint `json:"transactionIndex" gencodec:"required"`
4848
// hash of the block in which the transaction was included
4949
BlockHash common.Hash `json:"blockHash"`
50-
// index of the log in the receipt
50+
// index of the log in the block
5151
Index uint `json:"logIndex" gencodec:"required"`
5252

5353
// The Removed field is true if this log was reverted due to a chain reorganisation.

0 commit comments

Comments
 (0)