idx should return -1

pull/216/head
obscuren 10 years ago
parent df3366d910
commit 4b2f1f7628
  1. 2
      ethutil/value.go

@ -397,5 +397,5 @@ func (it *ValueIterator) Value() *Value {
}
func (it *ValueIterator) Idx() int {
return it.idx
return it.idx - 1
}

Loading…
Cancel
Save