mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-03-01 17:13:45 +00:00
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