From 6b53b393df35c79c96b9e01ab19b73a9a6f46496 Mon Sep 17 00:00:00 2001
From: Olaoluwa Osuntokun <laolu32@gmail.com>
Date: Wed, 22 Jun 2016 21:43:15 -0700
Subject: [PATCH] cmd/lncli: add json attribute tag for anonymous ChannelPoint
 struct

---
 cmd/lncli/commands.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/lncli/commands.go b/cmd/lncli/commands.go
index 6e3bc69e0..2b00d4937 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),
 	},