Skip to content

Commit

Permalink
Update Version CrdsData on node identity changes (#25904)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7ef18f2)

Co-authored-by: Michael Vines <mvines@gmail.com>
  • Loading branch information
mergify[bot] and mvines authored Jun 10, 2022
1 parent 53c4b80 commit 0c54340
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gossip/src/cluster_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,10 @@ impl ClusterInfo {
self.my_contact_info.write().unwrap().id = id;

self.insert_self();
self.push_message(CrdsValue::new_signed(
CrdsData::Version(Version::new(self.id())),
&self.keypair(),
));
self.push_self(&HashMap::new(), None);
}

Expand Down

0 comments on commit 0c54340

Please sign in to comment.