diff --git a/zebra-network/src/meta_addr.rs b/zebra-network/src/meta_addr.rs index 2540bf79b46..ec0cd8971ef 100644 --- a/zebra-network/src/meta_addr.rs +++ b/zebra-network/src/meta_addr.rs @@ -488,8 +488,7 @@ impl MetaAddr { /// /// Returns `None` if this `MetaAddr` should not be sent to remote peers. pub fn sanitize(&self) -> Option { - // Make sure this address is valid for outbound connections - if !self.is_valid_for_outbound() { + if !self.last_known_info_is_valid_for_outbound() { return None; }