Reduce leader_id visiblity
This commit is contained in:
@ -204,7 +204,7 @@ impl ClusterInfo {
|
||||
pub fn my_data(&self) -> NodeInfo {
|
||||
self.lookup(self.id()).cloned().unwrap()
|
||||
}
|
||||
pub fn leader_id(&self) -> Pubkey {
|
||||
fn leader_id(&self) -> Pubkey {
|
||||
let entry = CrdsValueLabel::LeaderId(self.id());
|
||||
self.gossip
|
||||
.crds
|
||||
|
Reference in New Issue
Block a user