Remove unneeded Option

This commit is contained in:
Michael Vines
2019-01-31 12:44:09 -08:00
parent 8ba1d5f426
commit 9767468b7f
3 changed files with 9 additions and 10 deletions

View File

@@ -125,7 +125,7 @@ fn test_replicator_startup() {
let leader_info = NodeInfo::new_entry_point(&leader_info.gossip);
let replicator = Replicator::new(
Some(replicator_ledger_path),
replicator_ledger_path,
replicator_node,
&leader_info,
&replicator_keypair,
@@ -237,7 +237,7 @@ fn test_replicator_startup_leader_hang() {
let leader_info = NodeInfo::new_entry_point(&fake_gossip);
let replicator_res = Replicator::new(
Some(replicator_ledger_path),
replicator_ledger_path,
replicator_node,
&leader_info,
&replicator_keypair,
@@ -314,7 +314,7 @@ fn test_replicator_startup_ledger_hang() {
let leader_info = NodeInfo::new_entry_point(&leader_info.gossip);
let replicator_res = Replicator::new(
Some(replicator_ledger_path),
replicator_ledger_path,
replicator_node,
&leader_info,
&bad_keys,