From 31c4e3a118b0bc43e3340e565d75160afadd2438 Mon Sep 17 00:00:00 2001 From: Wenbiao Zheng Date: Mon, 8 Oct 2018 06:15:19 -0500 Subject: core/types: Log.Index is the index in block, not receipt (#17866) --- core/types/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/types/log.go') diff --git a/core/types/log.go b/core/types/log.go index b629b47ed..717cd2e5a 100644 --- a/core/types/log.go +++ b/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. -- cgit