lnrpc: deprecate unused pending closing channels field

The pending closing channels field was present to cover an edge case
where coperatively closed channels were closed before upgrade and
confirmed after the upgrade. This commit deprecates the field and adds
a warning log to cover these edge cases.
This commit is contained in:
carla committed 2020-03-25 08:48:19 +02:00
1 parent 8b83c1f7f9
commit 9e1cdb78e7
4 files changed
+714 -713

No files matched your search

+1 -1
View File
@@ -3939,7 +3939,7 @@
"items": {
"$ref": "#/definitions/PendingChannelsResponseClosedChannel"
},
"title": "/ Channels pending closing"
"description": "Deprecated: Channels pending closing previously contained cooperatively\nclosed channels with a single confirmation. These channels are now\nconsidered closed from the time we see them on chain."
},
"pending_force_closing_channels": {
"type": "array",