fix blocktree_processor test_process_entries_stress (#4967)

This commit is contained in:
Rob Walker 2019-07-08 18:11:58 -07:00 committed by GitHub
parent 1feb9bea21
commit 417e8d5064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -1321,9 +1321,10 @@ pub mod tests {
)
.expect("process ticks failed");
i += 1;
bank = Bank::new_from_parent(&Arc::new(bank), &Pubkey::default(), i as u64);
bank.squash();
i += 1;
bank = Bank::new_from_parent(&Arc::new(bank), &Pubkey::default(), i as u64);
}
}