cmd/lncli: add json attribute tag for anonymous ChannelPoint struct

This commit is contained in:
Olaoluwa Osuntokun 2016-06-22 21:43:15 -07:00
parent 210c32d890
commit 6b53b393df
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2

@ -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),
},