diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index 73437b86b..3d1bf871d 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -31,14 +31,6 @@ func printRespJson(resp interface{}) { out.WriteTo(os.Stdout) } -var ShellCommand = cli.Command{ - Name: "shell", - Usage: "enter interactive shell", - Action: func(c *cli.Context) { - println("not implemented yet") - }, -} - var NewAddressCommand = cli.Command{ Name: "newaddress", Usage: "generates a new address. Three address types are supported: p2wkh, np2wkh, p2pkh", @@ -757,6 +749,7 @@ func describeGraph(ctx *cli.Context) error { client := getClient(ctx) req := &lnrpc.ChannelGraphRequest{} + graph, err := client.DescribeGraph(context.Background(), req) if err != nil { return err diff --git a/cmd/lncli/main.go b/cmd/lncli/main.go index b4d0cffe4..b1bdd6a0f 100644 --- a/cmd/lncli/main.go +++ b/cmd/lncli/main.go @@ -57,7 +57,6 @@ func main() { ListPeersCommand, WalletBalanceCommand, ChannelBalanceCommand, - ShellCommand, GetInfoCommand, PendingChannelsCommand, SendPaymentCommand,