Consolidate fullnode ledger helpers

This commit is contained in:
Michael Vines
2019-02-06 19:21:31 -08:00
parent 2e23b03f94
commit f789038baa
3 changed files with 57 additions and 80 deletions

View File

@ -1018,7 +1018,7 @@ fn test_leader_to_validator_transition() {
leader_exit();
info!("Check the ledger to make sure it's the right height...");
let (bank, _, _) = Fullnode::new_bank_from_ledger(&leader_ledger_path, None);
let bank = Fullnode::new_bank_from_ledger(&leader_ledger_path, None).0;
assert_eq!(
bank.tick_height(),