lnrpc: use initiator enum for pending channel channel intiator

Update the PendingChannel message from a bool to an enum to
differentiate between the case where the remote party initiated the
channel and we have no record of the channel initiator. The previous
field has not been included in a release of lnd, so we can replace the
field directly.
This commit is contained in:
carla committed 2020-04-03 11:26:21 +02:00
1 parent 2ae61162db
commit d66ff04583
4 files changed
+768 -753

No files matched your search

+2 -3
View File
@@ -1733,9 +1733,8 @@
"description": "*\nThe minimum satoshis the other node is required to reserve in its\nbalance."
},
"initiator": {
"type": "boolean",
"format": "boolean",
"description": "True if we initiated opening the channel."
"$ref": "#/definitions/lnrpcInitiator",
"description": "The party that initiated opening the channel."
},
"commitment_type": {
"$ref": "#/definitions/lnrpcCommitmentType",