Skip to content

Commit 4b2f1f7

Browse files
committed
idx should return -1
1 parent df3366d commit 4b2f1f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ethutil/value.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,5 +397,5 @@ func (it *ValueIterator) Value() *Value {
397397
}
398398

399399
func (it *ValueIterator) Idx() int {
400-
return it.idx
400+
return it.idx - 1
401401
}

0 commit comments

Comments
 (0)