@@ -920,17 +920,17 @@ pub fn unset_operator_and_unstake<Chain>(
920920
921921 // Staker sets operator and stakes tokens.
922922 let op_addr = chain. alt_signer ( 20 ) . addr ( ) ;
923- ops. call_as ( & staker1) . set_operator ( & op_addr) . unwrap ( ) ;
923+ ops. call_as ( staker1) . set_operator ( & op_addr) . unwrap ( ) ;
924924 staking
925- . call_as ( & staker1)
925+ . call_as ( staker1)
926926 . stake ( & [ coin ( 1000 , DENOM ) ] )
927927 . unwrap ( ) ;
928928 chain. next_block ( ) . unwrap ( ) ;
929929
930930 let op_addr_2 = chain. alt_signer ( 30 ) . addr ( ) ;
931- ops. call_as ( & staker2) . set_operator ( & op_addr_2) . unwrap ( ) ;
931+ ops. call_as ( staker2) . set_operator ( & op_addr_2) . unwrap ( ) ;
932932 staking
933- . call_as ( & staker2)
933+ . call_as ( staker2)
934934 . stake ( & [ coin ( 1000 , DENOM ) ] )
935935 . unwrap ( ) ;
936936 chain. next_block ( ) . unwrap ( ) ;
@@ -950,7 +950,7 @@ pub fn unset_operator_and_unstake<Chain>(
950950 assert_eq ! ( op_resp. operator. unwrap( ) , op_addr_2. addr( ) . to_string( ) ) ;
951951
952952 // Unset operator.
953- ops. call_as ( & staker1) . unset_operator ( ) . unwrap ( ) ;
953+ ops. call_as ( staker1) . unset_operator ( ) . unwrap ( ) ;
954954 chain. next_block ( ) . unwrap ( ) ;
955955
956956 // Check no operator for staker1 now.
@@ -982,7 +982,7 @@ pub fn unset_operator_and_unstake<Chain>(
982982
983983 // Since the operator is unset, staker1 can't stake anymore
984984 let err = staking
985- . call_as ( & staker1)
985+ . call_as ( staker1)
986986 . stake ( & [ coin ( 1000 , DENOM ) ] )
987987 . unwrap_err ( ) ;
988988 assert_eq ! (
@@ -991,6 +991,6 @@ pub fn unset_operator_and_unstake<Chain>(
991991 ) ;
992992
993993 // Check unbonding claims in the staking contract
994- // let claims = dbg!( staking.unbonding(chain.sender()).unwrap() );
994+ // let claims = staking.unbonding(chain.sender()).unwrap();
995995 // assert!(!claims.claims.is_empty());
996996}
0 commit comments