mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
msggen: Use the inferred optional field
Changelog-Changed: msggen: The generated interfaces `cln-rpc` anc `cln-grpc` can now work with a range of versions rather than having to match the CLN version
This commit is contained in:
committed by
Rusty Russell
parent
392cacac81
commit
60b12ec096
4
cln-grpc/proto/node.proto
generated
4
cln-grpc/proto/node.proto
generated
@@ -131,7 +131,7 @@ message ListpeersResponse {
|
||||
message ListpeersPeers {
|
||||
bytes id = 1;
|
||||
bool connected = 2;
|
||||
uint32 num_channels = 8;
|
||||
optional uint32 num_channels = 8;
|
||||
repeated ListpeersPeersLog log = 3;
|
||||
repeated ListpeersPeersChannels channels = 4;
|
||||
repeated string netaddr = 5;
|
||||
@@ -303,7 +303,7 @@ message ListfundsChannels {
|
||||
uint32 funding_output = 5;
|
||||
bool connected = 6;
|
||||
ChannelState state = 7;
|
||||
bytes channel_id = 9;
|
||||
optional bytes channel_id = 9;
|
||||
optional string short_channel_id = 8;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user