diff --git a/cmd/lncli/cmd_payments.go b/cmd/lncli/cmd_payments.go index 7be8a4368..057d923dc 100644 --- a/cmd/lncli/cmd_payments.go +++ b/cmd/lncli/cmd_payments.go @@ -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 { diff --git a/docs/release-notes/release-notes-0.14.2.md b/docs/release-notes/release-notes-0.14.2.md index 09f1fbdc3..1a94f6731 100644 --- a/docs/release-notes/release-notes-0.14.2.md +++ b/docs/release-notes/release-notes-0.14.2.md @@ -8,6 +8,11 @@ * [Make etcd max message size 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) * Andras Banki-Horvath