File tree 1 file changed +3
-0
lines changed
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ pub struct ExternalCommitBuilder<C: ClientConfig> {
55
55
config : C ,
56
56
tree_data : Option < ExportedTree < ' static > > ,
57
57
to_remove : Option < u32 > ,
58
+ #[ cfg( feature = "server_remove_proposal" ) ]
58
59
to_server_remove : Vec < u32 > ,
59
60
#[ cfg( feature = "psk" ) ]
60
61
external_psks : Vec < ExternalPskId > ,
@@ -74,6 +75,7 @@ impl<C: ClientConfig> ExternalCommitBuilder<C> {
74
75
Self {
75
76
tree_data : None ,
76
77
to_remove : None ,
78
+ #[ cfg( feature = "server_remove_proposal" ) ]
77
79
to_server_remove : Vec :: new ( ) ,
78
80
authenticated_data : Vec :: new ( ) ,
79
81
signer,
@@ -109,6 +111,7 @@ impl<C: ClientConfig> ExternalCommitBuilder<C> {
109
111
}
110
112
}
111
113
114
+ #[ cfg( feature = "server_remove_proposal" ) ]
112
115
#[ must_use]
113
116
/// Propose the server-removal of a client as part of the external commit.
114
117
pub fn with_server_removal ( self , to_remove : u32 ) -> Self {
You can’t perform that action at this time.
0 commit comments