Skip to content

Commit

Permalink
satisfy clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
quasisamurai committed Feb 1, 2024
1 parent 18cbcce commit 20495a5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions contracts/vesting-lp-pcl/src/tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1189,7 +1189,6 @@ fn instantiate_vesting(app: &mut App, cw20_token_instance: &Addr) -> Addr {
crate::contract::query,
));
let owner = Addr::unchecked(OWNER1);
let token_manager = Addr::unchecked(TOKEN_MANAGER);
let vesting_code_id = app.store_code(vesting_contract);

let init_msg = InstantiateMsg {
Expand Down Expand Up @@ -1233,7 +1232,6 @@ fn instantiate_vesting_remote_chain(app: &mut App) -> Addr {
crate::contract::query,
));
let owner = Addr::unchecked(OWNER1);
let token_manager = Addr::unchecked(TOKEN_MANAGER);
let vesting_code_id = app.store_code(vesting_contract);

let init_msg = InstantiateMsg {
Expand All @@ -1244,10 +1242,8 @@ fn instantiate_vesting_remote_chain(app: &mut App) -> Addr {
xyk_vesting_lp_contract: "test".to_string(),
};

let res = app
.instantiate_contract(vesting_code_id, owner, &init_msg, &[], "Vesting", None)
.unwrap();
res
app.instantiate_contract(vesting_code_id, owner, &init_msg, &[], "Vesting", None)
.unwrap()
}

fn mint_tokens(app: &mut App, token: &Addr, recipient: &Addr, amount: u128) {
Expand Down

0 comments on commit 20495a5

Please sign in to comment.