@@ -269,7 +269,7 @@ pub trait Multisig {
269269 #[ endpoint]
270270 fn sign ( & self , action_id : usize ) -> SCResult < ( ) > {
271271 require ! (
272- !self . action_mapper( ) . is_empty_unchecked ( action_id) ,
272+ !self . action_mapper( ) . item_is_empty_unchecked ( action_id) ,
273273 "action does not exist"
274274 ) ;
275275
@@ -292,7 +292,7 @@ pub trait Multisig {
292292 #[ endpoint]
293293 fn unsign ( & self , action_id : usize ) -> SCResult < ( ) > {
294294 require ! (
295- !self . action_mapper( ) . is_empty_unchecked ( action_id) ,
295+ !self . action_mapper( ) . item_is_empty_unchecked ( action_id) ,
296296 "action does not exist"
297297 ) ;
298298
@@ -331,7 +331,7 @@ pub trait Multisig {
331331 self . set_user_id_to_role ( user_id, new_role) ;
332332
333333 // update board size
334- #[ allow( clippy:: collapsible_if ) ]
334+ #[ allow( clippy:: collapsible_else_if ) ]
335335 if old_role == UserRole :: BoardMember {
336336 if new_role != UserRole :: BoardMember {
337337 self . num_board_members ( ) . update ( |value| * value -= 1 ) ;
@@ -343,7 +343,7 @@ pub trait Multisig {
343343 }
344344
345345 // update num_proposers
346- #[ allow( clippy:: collapsible_if ) ]
346+ #[ allow( clippy:: collapsible_else_if ) ]
347347 if old_role == UserRole :: Proposer {
348348 if new_role != UserRole :: Proposer {
349349 self . num_proposers ( ) . update ( |value| * value -= 1 ) ;
0 commit comments