From 20495a5aba267475b2f50dbd71eb797e0fbab9a0 Mon Sep 17 00:00:00 2001 From: quasisamurai Date: Thu, 1 Feb 2024 11:30:41 -0300 Subject: [PATCH] satisfy clippy --- contracts/vesting-lp-pcl/src/tests/integration.rs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/contracts/vesting-lp-pcl/src/tests/integration.rs b/contracts/vesting-lp-pcl/src/tests/integration.rs index a8f2a6a4..70e164ac 100644 --- a/contracts/vesting-lp-pcl/src/tests/integration.rs +++ b/contracts/vesting-lp-pcl/src/tests/integration.rs @@ -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 { @@ -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 { @@ -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) {