We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd6f83d commit 34b23f0Copy full SHA for 34b23f0
src/ledger/database/rocksdb.zig
@@ -322,7 +322,7 @@ pub fn RocksDB(comptime column_families: []const ColumnFamily) type {
322
pub fn nextValue(self: *@This()) anyerror!?cf.Value {
323
const entry = try callRocks(self.logger, rocks.Iterator.next, .{&self.inner});
324
return if (entry) |kv|
325
- try key_serializer.deserialize(cf.Value, self.allocator, kv[1].data)
+ try value_serializer.deserialize(cf.Value, self.allocator, kv[1].data)
326
else
327
null;
328
}
0 commit comments