lncli: Add json flag to trackpayment [skip ci]

This commit is contained in:
Matthew Bajorek
2021-12-05 19:44:40 -05:00
parent ad78ff114f
commit 6ebc896f6f
2 changed files with 9 additions and 1 deletions

View File

@@ -556,7 +556,10 @@ var trackPaymentCommand = cli.Command{
specified by the hash argument.
`,
ArgsUsage: "hash",
Action: actionDecorator(trackPayment),
Flags: []cli.Flag{
jsonFlag,
},
Action: actionDecorator(trackPayment),
}
func trackPayment(ctx *cli.Context) error {