diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go index 6e3bc69e..2b00d493 100644 --- a/cmd/lncli/commands.go +++ b/cmd/lncli/commands.go @@ -180,7 +180,7 @@ func openChannel(ctx *cli.Context) { index := resp.ChannelPoint.OutputIndex printRespJson(struct { - ChannelPoint string + ChannelPoint string `json:"channel_point"` }{ ChannelPoint: fmt.Sprintf("%v:%v", txid, index), },