mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 05:56:45 +01:00
idx should return -1
This commit is contained in:
@@ -397,5 +397,5 @@ func (it *ValueIterator) Value() *Value {
|
||||
}
|
||||
|
||||
func (it *ValueIterator) Idx() int {
|
||||
return it.idx
|
||||
return it.idx - 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user