Skip to content

Commit ac5c310

Browse files
committed
wip
1 parent a1c00e5 commit ac5c310

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gossip/src/cluster_info.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3350,6 +3350,9 @@ fn verify_gossip_addr<R: Rng + CryptoRng>(
33503350
let (pubkey, addr) = match &value.data {
33513351
CrdsData::ContactInfo(node) => (node.pubkey(), node.gossip()),
33523352
CrdsData::LegacyContactInfo(node) => (node.pubkey(), node.gossip()),
3353+
CrdsData::NodeInstance(node) => {
3354+
ClusterInfo::lookup_contact_info(&self, id, map)
3355+
}
33533356
_ => return true, // If not a contact-info, nothing to verify.
33543357
};
33553358
// For (sufficiently) staked nodes, don't bother with ping/pong.

0 commit comments

Comments
 (0)