Pārlūkot izejas kodu

core/types: Log.Index is the index in block, not receipt (#17866)

Wenbiao Zheng 7 gadi atpakaļ
vecāks
revīzija
31c4e3a118
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      core/types/log.go

+ 1 - 1
core/types/log.go

@@ -47,7 +47,7 @@ type Log struct {
 	TxIndex uint `json:"transactionIndex" gencodec:"required"`
 	// hash of the block in which the transaction was included
 	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"`
 
 	// The Removed field is true if this log was reverted due to a chain reorganisation.