Skip to content

Commit 05bb5e6

Browse files
committed
fix a bug in rocksdb
1 parent afbe6bf commit 05bb5e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

light-client-lib/src/storage/db/native_rocksdb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,8 @@ impl StorageHighLevelOperations for Storage {
541541
))
542542
.take_while(|(key, _)| take_while(key))
543543
.filter_map(|(key, value)| filter_map(&key).map(|v| (v.into_boxed_slice(), value)))
544-
.take(limit)
545544
.skip(skip)
545+
.take(limit)
546546
.map(|(key, value)| (key.to_vec(), value.to_vec()))
547547
.collect()
548548
}

0 commit comments

Comments
 (0)