lncli: remove deprecated shell command
This commit removes the shell command as it’s now deprecated since it was never fully implemented.
This commit is contained in:
parent
2651541139
commit
367be2d385
@ -31,14 +31,6 @@ func printRespJson(resp interface{}) {
|
|||||||
out.WriteTo(os.Stdout)
|
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{
|
var NewAddressCommand = cli.Command{
|
||||||
Name: "newaddress",
|
Name: "newaddress",
|
||||||
Usage: "generates a new address. Three address types are supported: p2wkh, np2wkh, p2pkh",
|
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)
|
client := getClient(ctx)
|
||||||
|
|
||||||
req := &lnrpc.ChannelGraphRequest{}
|
req := &lnrpc.ChannelGraphRequest{}
|
||||||
|
|
||||||
graph, err := client.DescribeGraph(context.Background(), req)
|
graph, err := client.DescribeGraph(context.Background(), req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
@ -57,7 +57,6 @@ func main() {
|
|||||||
ListPeersCommand,
|
ListPeersCommand,
|
||||||
WalletBalanceCommand,
|
WalletBalanceCommand,
|
||||||
ChannelBalanceCommand,
|
ChannelBalanceCommand,
|
||||||
ShellCommand,
|
|
||||||
GetInfoCommand,
|
GetInfoCommand,
|
||||||
PendingChannelsCommand,
|
PendingChannelsCommand,
|
||||||
SendPaymentCommand,
|
SendPaymentCommand,
|
||||||
|
Loading…
Reference in New Issue
Block a user