lnrpc: use funding_txid_str as the main endpoint for CloseChannel

This commit is contained in:
Wilmer Paulino committed 2018-01-27 22:00:31 -05:00
1 parent f674e10a2b
commit 1fefae780f
4 files changed
+320 -320

No files matched your search

+3 -4
View File
@@ -145,7 +145,7 @@
]
}
},
"/v1/channels/{channel_point.funding_txid_bytes}/{channel_point.output_index}": {
"/v1/channels/{channel_point.funding_txid_str}/{channel_point.output_index}": {
"delete": {
"summary": "* lncli: `closechannel`\nCloseChannel attempts to close an active channel identified by its channel\noutpoint (ChannelPoint). The actions of this method can additionally be\naugmented to attempt a force close after a timeout period in the case of an\ninactive peer. If a non-force close (cooperative closure) is requested,\nthen the user can specify either a target number of blocks until the\nclosure transaction is confirmed, or a manual fee rate. If neither are\nspecified, then a default lax, block confirmation target is used.",
"operationId": "CloseChannel",
@@ -159,11 +159,10 @@
},
"parameters": [
{
"name": "channel_point.funding_txid_bytes",
"name": "channel_point.funding_txid_str",
"in": "path",
"required": true,
"type": "string",
"format": "byte"
"type": "string"
},
{
"name": "channel_point.output_index",