Skip to content

Commit f7049d7

Browse files
cdeckerrustyrussell
authored andcommitted
cln-grpc: Add some missing states to HtlcState
1 parent bfe009d commit f7049d7

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

cln-grpc/proto/primitives.proto

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,26 @@ enum ChannelState {
3939
}
4040

4141
enum HtlcState {
42-
SentAddHtlc = 0;
43-
SentAddCommit = 1;
44-
RcvdAddRevocation = 2;
45-
RcvdAddAckCommit = 3;
46-
SentAddAckRevocation = 4;
47-
RcvdAddAckRevocation = 5;
48-
RcvdRemoveHtlc = 6;
49-
RcvdRemoveCommit = 7;
50-
SentRemoveRevocation = 8;
51-
SentRemoveAckCommit = 9;
52-
RcvdRemoveAckRevocation = 10;
42+
SentAddHtlc = 0;
43+
SentAddCommit = 1;
44+
RcvdAddRevocation = 2;
45+
RcvdAddAckCommit = 3;
46+
SentAddAckRevocation = 4;
47+
RcvdAddAckRevocation = 5;
48+
RcvdRemoveHtlc = 6;
49+
RcvdRemoveCommit = 7;
50+
SentRemoveRevocation = 8;
51+
SentRemoveAckCommit = 9;
52+
RcvdRemoveAckRevocation = 10;
53+
RcvdAddHtlc = 11;
54+
RcvdAddCommit = 12;
55+
SentAddRevocation = 13;
56+
SentAddAckCommit = 14;
57+
SentRemoveHtlc = 15;
58+
SentRemoveCommit = 16;
59+
RcvdRemoveRevocation = 17;
60+
RcvdRemoveAckCommit = 18;
61+
SentRemoveAckRevocation = 19;
5362
}
5463

5564
message ChannelStateChangeCause {}

0 commit comments

Comments
 (0)