Fix clippy warning
Always pass Arcs by reference. Then you'll only need to clone() to cross thread boundaries.
This commit is contained in:
@@ -455,7 +455,7 @@ pub fn new_fullnode(ledger_name: &'static str) -> (Fullnode, NodeInfo, Keypair,
|
||||
let vote_signer = VoteSignerProxy::new_local(&vote_account_keypair);
|
||||
let node = Fullnode::new(
|
||||
node,
|
||||
node_keypair,
|
||||
&node_keypair,
|
||||
&ledger_path,
|
||||
Arc::new(RwLock::new(leader_scheduler)),
|
||||
vote_signer,
|
||||
|
Reference in New Issue
Block a user