Skip to content

Commit 1f78f29

Browse files
committed
litrpc: let revoked_at use type 16
Update the proto message field number for revoked_at to be 16 and reserve 14 and 15 for future use.
1 parent 0f4f9f7 commit 1f78f29

File tree

2 files changed

+68
-57
lines changed

2 files changed

+68
-57
lines changed

litrpc/lit-sessions.pb.go

Lines changed: 57 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

litrpc/lit-sessions.proto

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,16 @@ message Session {
9393

9494
string account_id = 13;
9595

96+
/*
97+
Field number 14 is reserved for future use.
98+
*/
99+
reserved 14;
100+
101+
/*
102+
Field number 15 is reserved for future use.
103+
*/
104+
reserved 15;
105+
96106
/*
97107
The unix timestamp indicating the time at which the session was revoked.
98108
Note that this field has not been around since the beginning and so it
@@ -101,7 +111,7 @@ message Session {
101111
readers should not assume that if this field is zero that the session is
102112
not revoked. Readers should instead first check the session_state field.
103113
*/
104-
uint64 revoked_at = 14 [jstype = JS_STRING];
114+
uint64 revoked_at = 16 [jstype = JS_STRING];
105115
}
106116

107117
message MacaroonRecipe {

0 commit comments

Comments
 (0)