Remove filter_snapshot_storages_for_incremental_snapshot() (#19349)
Now that we can get just the subset of snapshot storages we want, the extra filtering afterwards is redundant.
This commit is contained in:
@ -799,14 +799,7 @@ mod tests {
|
||||
"did not find bank snapshot with this path",
|
||||
)
|
||||
})?;
|
||||
let storages = {
|
||||
let mut storages = bank.get_snapshot_storages(Some(incremental_snapshot_base_slot));
|
||||
snapshot_utils::filter_snapshot_storages_for_incremental_snapshot(
|
||||
&mut storages,
|
||||
incremental_snapshot_base_slot,
|
||||
);
|
||||
storages
|
||||
};
|
||||
let storages = bank.get_snapshot_storages(Some(incremental_snapshot_base_slot));
|
||||
snapshot_utils::package_process_and_archive_incremental_snapshot(
|
||||
bank,
|
||||
incremental_snapshot_base_slot,
|
||||
|
Reference in New Issue
Block a user