From b66b2b4b5f0a7e2cb6d73fa037d121cb10e949d8 Mon Sep 17 00:00:00 2001 From: gangov <6922910+gangov@users.noreply.github.com> Date: Mon, 2 Dec 2024 18:35:10 +0200 Subject: [PATCH] vesting lints --- contracts/vesting/src/tests/setup.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/vesting/src/tests/setup.rs b/contracts/vesting/src/tests/setup.rs index 00d7613cf..a1811984f 100644 --- a/contracts/vesting/src/tests/setup.rs +++ b/contracts/vesting/src/tests/setup.rs @@ -6,7 +6,7 @@ use crate::{ }; pub fn instantiate_vesting_client(env: &Env) -> VestingClient { - VestingClient::new(env, &env.register_contract(None, Vesting {})) + VestingClient::new(env, &env.register(Vesting, ())) } pub fn deploy_token_contract<'a>(env: &Env, admin: &Address) -> token_contract::Client<'a> {