diff options
author | Wenbiao Zheng <delweng@gmail.com> | 2018-10-08 19:15:19 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2018-10-08 19:15:19 +0800 |
commit | 31c4e3a118b0bc43e3340e565d75160afadd2438 (patch) | |
tree | fe433d29477f89eccdf550fd35511f0261a330f9 /core | |
parent | 1d3d4a4d578825b040a3cac9eb163e7f3c16ce4b (diff) | |
download | go-tangerine-31c4e3a118b0bc43e3340e565d75160afadd2438.tar go-tangerine-31c4e3a118b0bc43e3340e565d75160afadd2438.tar.gz go-tangerine-31c4e3a118b0bc43e3340e565d75160afadd2438.tar.bz2 go-tangerine-31c4e3a118b0bc43e3340e565d75160afadd2438.tar.lz go-tangerine-31c4e3a118b0bc43e3340e565d75160afadd2438.tar.xz go-tangerine-31c4e3a118b0bc43e3340e565d75160afadd2438.tar.zst go-tangerine-31c4e3a118b0bc43e3340e565d75160afadd2438.zip |
core/types: Log.Index is the index in block, not receipt (#17866)
Diffstat (limited to 'core')
-rw-r--r-- | core/types/log.go | 2 |
1 files changed, 1 insertions, 1 deletions
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. |