From 5b134239e327cbff653ee5e9e4f93fe76974a114 Mon Sep 17 00:00:00 2001 From: Nishant Das Date: Sat, 9 May 2020 08:58:11 +0800 Subject: [PATCH] Make IP Static for Public IPs (#5788) * don't use endpoint predictor * Merge branch 'master' into staticIP * Merge refs/heads/master into staticIP --- beacon-chain/p2p/discovery.go | 1 + 1 file changed, 1 insertion(+) diff --git a/beacon-chain/p2p/discovery.go b/beacon-chain/p2p/discovery.go index 35a925f94..5bec17c59 100644 --- a/beacon-chain/p2p/discovery.go +++ b/beacon-chain/p2p/discovery.go @@ -64,6 +64,7 @@ func (s *Service) createListener( log.Errorf("Invalid host address given: %s", hostIP.String()) } else { localNode.SetFallbackIP(hostIP) + localNode.SetStaticIP(hostIP) } } dv5Cfg := discover.Config{