Move get_bank_forks() into ledger/ so it's available for use by ledger-tool/ (#6721)

This commit is contained in:
Michael Vines
2019-11-04 19:10:24 -07:00
committed by GitHub
parent 3fd09435af
commit 8f6ead2c0f
6 changed files with 98 additions and 88 deletions

View File

@@ -53,7 +53,7 @@ mod tests {
snapshot_package_output_path: PathBuf::from(snapshot_output_path.path()),
snapshot_path: PathBuf::from(snapshot_dir.path()),
};
bank_forks.set_snapshot_config(snapshot_config.clone());
bank_forks.set_snapshot_config(Some(snapshot_config.clone()));
SnapshotTestConfig {
accounts_dir,
snapshot_dir,