lnrpc: update godoc for 'private' flag

This commit is contained in:
Johan T. Halseth 2017-11-13 17:06:50 -08:00 committed by Olaoluwa Osuntokun
parent f06f6bc869
commit 464f57d3a5
3 changed files with 3 additions and 8 deletions

@ -1547,9 +1547,7 @@ type OpenChannelRequest struct {
TargetConf int32 `protobuf:"varint,6,opt,name=target_conf,json=targetConf" json:"target_conf,omitempty"`
// / A manual fee rate set in sat/byte that should be used when crafting the closure transaction.
SatPerByte int64 `protobuf:"varint,7,opt,name=sat_per_byte,json=satPerByte" json:"sat_per_byte,omitempty"`
// *
// Whether this channel is private and if so, should not be announced to the
// greater network
// / Whether this channel should be private, not announced to the greater network.
Private bool `protobuf:"varint,8,opt,name=private" json:"private,omitempty"`
}

@ -877,10 +877,7 @@ message OpenChannelRequest {
/// A manual fee rate set in sat/byte that should be used when crafting the closure transaction.
int64 sat_per_byte = 7;
/**
Whether this channel is private and if so, should not be announced to the
greater network
*/
/// Whether this channel should be private, not announced to the greater network.
bool private = 8 [json_name = "private"];
}
message OpenStatusUpdate {

@ -1613,7 +1613,7 @@
"private": {
"type": "boolean",
"format": "boolean",
"title": "*\nWhether this channel is private and if so, should not be announced to the\ngreater network"
"description": "/ Whether this channel should be private, not announced to the greater network."
}
}
},