Skip to content

Commit 155233e

Browse files
committed
primitives - sentry - LastApproved make approve_state an Option and make field public
1 parent 3f6117e commit 155233e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

primitives/src/sentry.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ use std::collections::HashMap;
77
#[derive(Serialize, Deserialize, Debug)]
88
#[serde(rename_all = "camelCase")]
99
pub struct LastApproved {
10-
new_state: NewState,
11-
approved_state: ApproveState,
10+
pub new_state: NewState,
11+
/// ApproveState can be None if the channel is brand new and we have only NewState atm
12+
pub approved_state: Option<ApproveState>,
1213
}
1314

1415
#[serde(tag = "type", rename_all = "SCREAMING_SNAKE_CASE")]

0 commit comments

Comments
 (0)