mirror of https://github.com/status-im/op-geth.git
idx should return -1
This commit is contained in:
parent
df3366d910
commit
4b2f1f7628
|
@ -397,5 +397,5 @@ func (it *ValueIterator) Value() *Value {
|
|||
}
|
||||
|
||||
func (it *ValueIterator) Idx() int {
|
||||
return it.idx
|
||||
return it.idx - 1
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue