We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68cc377 commit 7f8ef8fCopy full SHA for 7f8ef8f
1 file changed
shared/services/config/rocket-pool-config.go
@@ -1371,7 +1371,11 @@ func (cfg *RocketPoolConfig) GetExternalIp() string {
1371
func (cfg *RocketPoolConfig) GetExternalIpv6() string {
1372
consensusConfig := externalip.ConsensusConfig{Timeout: 3 * time.Second}
1373
ip6Consensus := externalip.DefaultConsensus(&consensusConfig, nil)
1374
- ip6Consensus.UseIPProtocol(6)
+ err := ip6Consensus.UseIPProtocol(6)
1375
+ if err != nil {
1376
+ return ""
1377
+ }
1378
+
1379
ip, err := ip6Consensus.ExternalIP()
1380
if err != nil || ip.To4() != nil {
1381
return ""
0 commit comments