Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More lenient ipv6 auto-update #266

Merged
merged 19 commits into from
Oct 14, 2024
Prev Previous commit
Next Next commit
fmt
AgeManning committed Oct 8, 2024
commit a5b7ccfff9308067360984c2dbb9c8cd71bdec1f
2 changes: 1 addition & 1 deletion src/service.rs
Original file line number Diff line number Diff line change
@@ -1356,7 +1356,7 @@ impl Service {
if let Some(ip_votes) = self.ip_votes.as_mut() {
match (ip_votes.majority(), enr.udp4_socket(), enr.udp6_socket()) {
// We don't have enough ipv4 votes, but this is an IPv4 node.
((None, Some(_)), Some(_), _) |
((None, Some(_)), Some(_), _) |
// We don't have enough ipv6 votes, but this is an IPv6 node
((Some(_), None), _, Some(_)) |
// We don't have enough ipv6 or ipv4 nodes, ping this peer