Skip to content

Commit

Permalink
Remove required logIndex and transactionIndex for light client support
Browse files Browse the repository at this point in the history
  • Loading branch information
jleeh committed May 28, 2019
1 parent f95da78 commit 93adf00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/store/models/eth.go
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ type Log struct {
// hash of the transaction
TxHash common.Hash `json:"transactionHash"`
// index of the transaction in the block
TxIndex uint `json:"transactionIndex" gencodec:"required"`
TxIndex uint `json:"transactionIndex"`
// hash of the block in which the transaction was included
BlockHash common.Hash `json:"blockHash"`
// index of the log in the receipt
Index uint `json:"logIndex" gencodec:"required"`
Index uint `json:"logIndex"`

// The Removed field is true if this log was reverted due to a chain reorganisation.
// You must pay attention to this field if you receive logs through a filter query.
Expand Down

0 comments on commit 93adf00

Please sign in to comment.