Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoranYi committed Nov 20, 2023
1 parent ba31745 commit 165cd46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ impl CurrentAncientAppendVec {
min_bytes: usize,
) -> ShrinkInProgress<'a> {
let min_page_aligned = AccountsDb::page_align(min_bytes as u64);
let size = get_ancient_append_vec_capacity().max(min_page_aligned as u64);
let size = get_ancient_append_vec_capacity().max(min_page_aligned);

let shrink_in_progress = db.get_store_for_shrink(slot, size);
*self = Self::new(slot, Arc::clone(shrink_in_progress.new_storage()));
Expand Down

0 comments on commit 165cd46

Please sign in to comment.