mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 12:07:17 +00:00
idx should return -1
This commit is contained in:
parent
df3366d910
commit
4b2f1f7628
@ -397,5 +397,5 @@ func (it *ValueIterator) Value() *Value {
|
||||
}
|
||||
|
||||
func (it *ValueIterator) Idx() int {
|
||||
return it.idx
|
||||
return it.idx - 1
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user