From 14c63ac5bdac3f437fb0de7c3d8b5ca31b6d964d Mon Sep 17 00:00:00 2001 From: Delweng Zheng Date: Mon, 8 Oct 2018 18:43:07 +0800 Subject: [PATCH] core/types: Log.Index is the index of Block, not Receipt --- core/types/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/types/log.go b/core/types/log.go index b629b47ed5..717cd2e5a0 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.