File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ impl<N> NodeOperator<N> {
162162}
163163
164164impl NodeOperator {
165- pub fn try_into_sc (
165+ pub ( super ) fn try_into_sc (
166166 self ,
167167 key : & EncryptionKey ,
168168 ) -> Result < smart_contract:: NodeOperator , TryIntoSmartContractError > {
@@ -194,7 +194,7 @@ impl NodeOperator {
194194}
195195
196196impl < C : Config > NodeOperator < C > {
197- pub fn try_from_sc (
197+ pub ( super ) fn try_from_sc (
198198 operator : smart_contract:: NodeOperator ,
199199 cfg : & C ,
200200 ) -> Result < NodeOperator < C :: Node > , TryFromSmartContractError > {
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ pub struct NodeOperators<N = Node> {
2929}
3030
3131impl < N > NodeOperators < N > {
32- pub fn from_slots (
32+ pub ( super ) fn from_slots (
3333 slots : impl IntoIterator < Item = Option < NodeOperator < N > > > ,
3434 ) -> Result < Self , CreationError > {
3535 let mut slots: Vec < _ > = slots. into_iter ( ) . collect ( ) ;
You can’t perform that action at this time.
0 commit comments