From 6ebc896f6fbaa0168c3f641b7cfd795555fe12bb Mon Sep 17 00:00:00 2001 From: Matthew Bajorek Date: Sun, 5 Dec 2021 19:44:40 -0500 Subject: [PATCH] lncli: Add json flag to trackpayment [skip ci] --- cmd/lncli/cmd_payments.go | 5 ++++- docs/release-notes/release-notes-0.14.2.md | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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