lnrpc+rpcserver: add missing channel update event type
Fixes the error "unexpected channel event update" in SubscribeChannelEvents.
This commit is contained in:
4 files changed
+2173
-2127
No files matched your search
+2152
-2126
File diff suppressed because it is too large.
Load diff
@@ -2973,6 +2973,7 @@ message ChannelEventUpdate {
|
||||
ChannelPoint inactive_channel = 4;
|
||||
PendingUpdate pending_open_channel = 6;
|
||||
ChannelPoint fully_resolved_channel = 7;
|
||||
ChannelPoint channel_funding_timeout = 8;
|
||||
}
|
||||
|
||||
enum UpdateType {
|
||||
@@ -2982,6 +2983,7 @@ message ChannelEventUpdate {
|
||||
INACTIVE_CHANNEL = 3;
|
||||
PENDING_OPEN_CHANNEL = 4;
|
||||
FULLY_RESOLVED_CHANNEL = 5;
|
||||
CHANNEL_FUNDING_TIMEOUT = 6;
|
||||
}
|
||||
|
||||
UpdateType type = 5;
|
||||
|
||||
@@ -3009,7 +3009,8 @@
|
||||
"ACTIVE_CHANNEL",
|
||||
"INACTIVE_CHANNEL",
|
||||
"PENDING_OPEN_CHANNEL",
|
||||
"FULLY_RESOLVED_CHANNEL"
|
||||
"FULLY_RESOLVED_CHANNEL",
|
||||
"CHANNEL_FUNDING_TIMEOUT"
|
||||
],
|
||||
"default": "OPEN_CHANNEL"
|
||||
},
|
||||
@@ -4480,6 +4481,9 @@
|
||||
"fully_resolved_channel": {
|
||||
"$ref": "#/definitions/lnrpcChannelPoint"
|
||||
},
|
||||
"channel_funding_timeout": {
|
||||
"$ref": "#/definitions/lnrpcChannelPoint"
|
||||
},
|
||||
"type": {
|
||||
"$ref": "#/definitions/ChannelEventUpdateUpdateType"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user