File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -606,7 +606,6 @@ func (s *Service) subscribeReachabilityEvents() error {
606606// updateENRFromReachableAddrs updates the ENR with IP addresses discovered
607607// by AutoNAT if the ENR doesn't already have a static/fallback IP configured.
608608func (s * Service ) updateENRFromReachableAddrs (reachableAddrs []multiaddr.Multiaddr ) {
609- // Skip if HostAddress was already configured
610609 if s .cfg != nil && s .cfg .HostAddress != "" {
611610 return
612611 }
@@ -629,7 +628,6 @@ func (s *Service) updateENRFromReachableAddrs(reachableAddrs []multiaddr.Multiad
629628 continue
630629 }
631630
632- // Set fallback and static IP like we do for HostAddress
633631 localNode .SetFallbackIP (ip )
634632 localNode .SetStaticIP (ip )
635633
You can’t perform that action at this time.
0 commit comments