added legacy check to maintain compatibility

This commit is contained in:
0xdcarns
2022-01-11 19:01:20 -05:00
parent 0502ff131c
commit 50016ed219
3 changed files with 34 additions and 41 deletions

View File

@@ -127,7 +127,6 @@ func JoinNetwork(cfg config.ClientConfig, privateKey string) error {
if cfg.Node.IsServer != "yes" {
ncutils.Log("joining " + cfg.Network + " at " + cfg.Server.GRPCAddress)
var wcclient nodepb.NodeServiceClient
log.Printf("used: %v\n", postnode)
conn, err := grpc.Dial(cfg.Server.GRPCAddress,
ncutils.GRPCRequestOpts(cfg.Server.GRPCSSL))