From 78c6053ba62604c31b178c50063d57e28ea27e09 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 22 Mar 2016 18:47:10 -0700 Subject: [PATCH] cmd/lncli: default RPC port is now 10009 --- cmd/lncli/main.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/cmd/lncli/main.go b/cmd/lncli/main.go index 32424063..463a4cad 100644 --- a/cmd/lncli/main.go +++ b/cmd/lncli/main.go @@ -1,7 +1,6 @@ package main import ( - "flag" "fmt" "os" @@ -11,10 +10,6 @@ import ( "google.golang.org/grpc" ) -var ( - serverAddr = flag.String("rpcserver", "localhost:10000", "The server address in the format of host:port") -) - func fatal(err error) { fmt.Fprintf(os.Stderr, "[lncli] %v\n", err) os.Exit(1) @@ -48,7 +43,7 @@ func main() { app.Flags = []cli.Flag{ cli.StringFlag{ Name: "rpcserver", - Value: "localhost:10000", + Value: "localhost:10009", Usage: "host:port of ln daemon", }, }