Skip to content

Commit

Permalink
Make IP Static for Public IPs (#5788)
Browse files Browse the repository at this point in the history
* don't use endpoint predictor
* Merge branch 'master' into staticIP
* Merge refs/heads/master into staticIP
  • Loading branch information
nisdas authored May 9, 2020
1 parent c590029 commit 5b13423
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions beacon-chain/p2p/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 5b13423

Please sign in to comment.