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:
4 files changed
+768
-753
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user