modify access key

This commit is contained in:
afeiszli
2021-05-25 16:09:49 -04:00
parent 78ae219b03
commit b930027a95
16 changed files with 366 additions and 145 deletions

View File

@@ -272,9 +272,9 @@ func LeaveNetwork(network string) error {
var wcclient nodepb.NodeServiceClient
var requestOpts grpc.DialOption
requestOpts = grpc.WithInsecure()
conn, err := grpc.Dial(servercfg.Address, requestOpts)
conn, err := grpc.Dial(servercfg.GRPCAddress, requestOpts)
if err != nil {
log.Printf("Unable to establish client connection to " + servercfg.Address + ": %v", err)
log.Printf("Unable to establish client connection to " + servercfg.GRPCAddress + ": %v", err)
}else {
wcclient = nodepb.NewNodeServiceClient(conn)