Pass a BlocktreeConfig into all ledger helper functions

This commit is contained in:
Michael Vines
2019-02-12 10:01:35 -08:00
parent c474cf1eef
commit 6632c7026d
9 changed files with 200 additions and 132 deletions

View File

@@ -75,6 +75,10 @@ fn main() -> Result<(), Box<dyn error::Error>> {
bootstrap_leader_vote_account_id: bootstrap_leader_vote_account_keypair.pubkey(),
};
create_new_ledger(ledger_path, &genesis_block)?;
create_new_ledger(
ledger_path,
&genesis_block,
&solana::blocktree::BlocktreeConfig::default(),
)?;
Ok(())
}