forked from forks/go-ethereum
idx should return -1
This commit is contained in:
parent
df3366d910
commit
4b2f1f7628
1 changed files with 1 additions and 1 deletions
|
|
@ -397,5 +397,5 @@ func (it *ValueIterator) Value() *Value {
|
|||
}
|
||||
|
||||
func (it *ValueIterator) Idx() int {
|
||||
return it.idx
|
||||
return it.idx - 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue