Harmonize Fullnode::new* function arguments

This commit is contained in:
Michael Vines
2019-01-28 20:10:38 -08:00
parent d8861c2a5f
commit 12cddf725e
5 changed files with 171 additions and 185 deletions

View File

@@ -254,12 +254,14 @@ fn main() {
let mut fullnode = Fullnode::new(
node,
ledger_path,
keypair.clone(),
signer_option,
cluster_entrypoint,
no_sigverify,
ledger_path,
Arc::new(RwLock::new(leader_scheduler)),
signer_option,
cluster_entrypoint
.map(|i| NodeInfo::new_entry_point(&i))
.as_ref(),
no_sigverify,
Some(rpc_port),
);