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. specified by the hash argument.
`, `,
ArgsUsage: "hash", ArgsUsage: "hash",
Action: actionDecorator(trackPayment), Flags: []cli.Flag{
jsonFlag,
},
Action: actionDecorator(trackPayment),
} }
func trackPayment(ctx *cli.Context) error { func trackPayment(ctx *cli.Context) error {

View File

@ -8,6 +8,11 @@
* [Make etcd max message size * [Make etcd max message size
configurable]((https://github.com/lightningnetwork/lnd/pull/6049). configurable]((https://github.com/lightningnetwork/lnd/pull/6049).
## Bug fixes
* [Add json flag to
trackpayment](https://github.com/lightningnetwork/lnd/pull/6060)
# Contributors (Alphabetical Order) # Contributors (Alphabetical Order)
* Andras Banki-Horvath * Andras Banki-Horvath