println -> info (#25163)

This commit is contained in:
Jeff Washington (jwash) 2022-05-12 11:07:13 -05:00 committed by GitHub
parent bcf4d54235
commit 3a4f0d3397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1479,7 +1479,7 @@ fn highest_slot(blockstore: &Blockstore) -> Option<Slot> {
.map(|metas| {
let slots: Vec<_> = metas.map(|(slot, _)| slot).collect();
if slots.is_empty() {
println!("Ledger is empty");
info!("Ledger is empty");
None
} else {
let first = slots.first().unwrap();