Skip to content

Commit 2345a90

Browse files
committed
fix benchmark build
1 parent c63c2a8 commit 2345a90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ledger/benchmarks.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ pub const BenchmarkLedgerSlow = struct {
386386
slot_meta.consecutive_received_from_0 = slot_meta.last_index.? + 1;
387387
// update next slots
388388
if (slot < (slot_per_epoch + 1)) {
389-
try slot_meta.child_slots.append(slot + 1);
389+
try slot_meta.child_slots.append(allocator, slot + 1);
390390
}
391391
try write_batch.put(schema.slot_meta, slot_meta.slot, slot_meta);
392392
// connect the chain

0 commit comments

Comments
 (0)