Print slot meta when printing a slot (#7133)

automerge
This commit is contained in:
Sagar Dhawan
2019-12-03 12:27:43 -08:00
committed by Grimes
parent bc09365c98
commit 1af4e256c9
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,7 @@ enum LedgerOutputMethod {
}
fn output_slot(blocktree: &Blocktree, slot: Slot, method: &LedgerOutputMethod) {
println!("Slot Meta {:?}", blocktree.meta(slot));
let entries = blocktree
.get_slot_entries(slot, 0, None)
.unwrap_or_else(|err| {