tpu now hangs on to its cluster_info

This commit is contained in:
Michael Vines
2019-02-13 15:45:49 -08:00
committed by Grimes
parent dca73068c5
commit 0f8ff07b51
2 changed files with 13 additions and 16 deletions

View File

@ -286,7 +286,7 @@ impl Fullnode {
.broadcast
.try_clone()
.expect("Failed to clone broadcast socket"),
cluster_info.clone(),
&cluster_info,
config.sigverify_disabled,
max_tick_height,
blob_index,
@ -389,7 +389,6 @@ impl Fullnode {
self.broadcast_socket
.try_clone()
.expect("Failed to clone broadcast socket"),
self.cluster_info.clone(),
self.sigverify_disabled,
max_tick_height,
0,
@ -407,7 +406,6 @@ impl Fullnode {
.iter()
.map(|s| s.try_clone().expect("Failed to clone TPU sockets"))
.collect(),
self.cluster_info.clone(),
);
FullnodeReturnType::LeaderToValidatorRotation
}