Skip to content

Commit

Permalink
Fix fuzzer
Browse files Browse the repository at this point in the history
  • Loading branch information
batiati committed Apr 23, 2024
1 parent d0d3fb9 commit 327fb90
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/lsm/forest_fuzz.zig
Original file line number Diff line number Diff line change
Expand Up @@ -448,11 +448,10 @@ const Environment = struct {
return self.result.?;
}

fn scan_lookup_callback(lookup: *ScanLookup) void {
fn scan_lookup_callback(lookup: *ScanLookup, result: []const tb.Account) void {
const self = @fieldParentPtr(Self, "lookup", lookup);
assert(self.result == null);

self.result = lookup.slice();
self.result = result;
}
};
}
Expand Down

0 comments on commit 327fb90

Please sign in to comment.