@@ -512,11 +512,11 @@ fn try_redeem<S: Storage, A: Api, Q: Querier>(
512
512
config. set_total_supply ( total_supply) ;
513
513
} else {
514
514
return Err ( StdError :: generic_err (
515
- "You are tyring to redeem more tokens than what is available in the total supply" ,
515
+ "You are trying to redeem more tokens than what is available in the total supply" ,
516
516
) ) ;
517
517
}
518
518
519
- let withdrawl_coins : Vec < Coin > = vec ! [ Coin {
519
+ let withdrawal_coins : Vec < Coin > = vec ! [ Coin {
520
520
denom: "uscrt" . to_string( ) ,
521
521
amount,
522
522
} ] ;
@@ -525,7 +525,7 @@ fn try_redeem<S: Storage, A: Api, Q: Querier>(
525
525
messages : vec ! [ CosmosMsg :: Bank ( BankMsg :: Send {
526
526
from_address: env. contract. address,
527
527
to_address: env. message. sender,
528
- amount: withdrawl_coins ,
528
+ amount: withdrawal_coins ,
529
529
} ) ] ,
530
530
log : vec ! [ ] ,
531
531
data : Some ( to_binary ( & HandleAnswer :: Redeem { status : Success } ) ?) ,
@@ -1104,7 +1104,7 @@ mod tests {
1104
1104
}
1105
1105
1106
1106
/// Will return a ViewingKey only for the first account in `initial_balances`
1107
- fn auth_query_helper (
1107
+ fn _auth_query_helper (
1108
1108
initial_balances : Vec < InitialBalance > ,
1109
1109
) -> ( ViewingKey , Extern < MockStorage , MockApi , MockQuerier > ) {
1110
1110
let ( init_result, mut deps) = init_helper ( initial_balances. clone ( ) ) ;
0 commit comments