Tiny cleanups in preparation for persistent tower (#10805)

This commit is contained in:
Ryo Onodera
2020-06-25 18:24:16 +09:00
committed by GitHub
parent 9f5bd5fe81
commit 4164c69683
6 changed files with 30 additions and 20 deletions

View File

@@ -185,7 +185,6 @@ impl LocalCluster {
);
let mut validators = HashMap::new();
error!("leader_pubkey: {}", leader_pubkey);
let leader_info = ValidatorInfo {
keypair: leader_keypair.clone(),
voting_keypair: leader_voting_keypair,

View File

@@ -830,6 +830,7 @@ fn test_snapshot_download() {
#[test]
#[serial]
fn test_snapshot_restart_tower() {
solana_logger::setup();
// First set up the cluster with 2 nodes
let snapshot_interval_slots = 10;
let num_account_paths = 2;