mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 01:00:18 +01:00
Interleaver: Advance iterator in LevelDB producer.
This commit is contained in:
parent
307d1aec44
commit
758ef7afc5
@ -94,6 +94,7 @@ func (ldbp *LevelDBBlockProducer) Next(block *Block) (err error) {
|
|||||||
}
|
}
|
||||||
block.Coord = ldbp.splitter(key)
|
block.Coord = ldbp.splitter(key)
|
||||||
block.Data = ldbp.iterator.Value()
|
block.Data = ldbp.iterator.Value()
|
||||||
|
ldbp.iterator.Next()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user