Remove chatty 'setting snapshot root:' info log (#9122)

This commit is contained in:
Michael Vines
2020-03-27 10:24:59 -07:00
committed by GitHub
parent e5a6f8c2de
commit b130c298df

View File

@ -193,10 +193,6 @@ impl BankForks {
if bank.block_height() % (config.snapshot_interval_slots as u64) == 0 {
// Generate a snapshot if snapshots are configured and it's been an appropriate number
// of banks since the last snapshot
info!(
"setting snapshot root: {} interval: {}",
bank_slot, config.snapshot_interval_slots
);
if bank_slot > self.last_snapshot_slot {
bank.squash();
is_root_bank_squashed = bank_slot == root;