Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sisuresh committed Aug 21, 2024
1 parent 00845e8 commit fff27b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion liquidity_pool/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ use soroban_sdk::{
};

fn create_token_contract<'a>(e: &Env, admin: &Address) -> token::Client<'a> {
token::Client::new(e, &e.register_stellar_asset_contract_v2(admin.clone()).address())
token::Client::new(
e,
&e.register_stellar_asset_contract_v2(admin.clone())
.address(),
)
}

fn create_liqpool_contract<'a>(
Expand Down
4 changes: 3 additions & 1 deletion mint-lock/src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ fn test() {

mint_lock_client.set_admin(&admin);

let token = env.register_stellar_asset_contract_v2(mint_lock.clone()).address();
let token = env
.register_stellar_asset_contract_v2(mint_lock.clone())
.address();
let token_client = TokenClient::new(&env, &token);

// Admin can always mint.
Expand Down

0 comments on commit fff27b4

Please sign in to comment.