Browse Source

Fix: compile errors

Rod Hynes 7 years ago
parent
commit
6302f8042c
1 changed files with 1 additions and 2 deletions
  1. 1 2
      ConsoleClient/main.go

+ 1 - 2
ConsoleClient/main.go

@@ -35,7 +35,6 @@ import (
 
 	"github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon"
 	"github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common"
-	"github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common/parameters"
 	"github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common/protocol"
 	"github.com/Psiphon-Labs/psiphon-tunnel-core/psiphon/common/tun"
 )
@@ -275,7 +274,7 @@ func main() {
 			}
 		}()
 
-		if psiphon.CountServerEntries(config.UseUpstreamProxy(), config.EgressRegion, nil) == 0 {
+		if psiphon.CountServerEntries() == 0 {
 			embeddedServerListWaitGroup.Wait()
 		} else {
 			defer embeddedServerListWaitGroup.Wait()