Update ethdb/pebble/pebble.go

This commit is contained in:
Martin Holst Swende 2023-11-21 09:03:58 +01:00 committed by GitHub
parent 07c664e8f3
commit 97c90bebf4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -609,6 +609,8 @@ func (b *batch) Replay(w ethdb.KeyValueWriter) error {
// pebbleIterator is a wrapper of underlying iterator in storage engine.
// The purpose of this structure is to implement the missing APIs.
//
// The pebble iterator is not thread-safe.
type pebbleIterator struct {
iter *pebble.Iterator
moved bool