diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index a6bbb8044b26ef..2c580971f4379b 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -7159,7 +7159,10 @@ impl Bank { let mut clean_time = Measure::start("clean"); if !accounts_db_skip_shrink && self.slot() > 0 { info!("cleaning.."); - self._clean_accounts(true, true, Some(last_full_snapshot_slot)); + self.rc + .accounts + .accounts_db + .clean_accounts(None, true, Some(last_full_snapshot_slot)); } clean_time.stop();