diff --git a/contract/src/bridge_pool_contract.rs b/contract/src/bridge_pool_contract.rs index 18ed1f6..447c133 100644 --- a/contract/src/bridge_pool_contract.rs +++ b/contract/src/bridge_pool_contract.rs @@ -251,7 +251,7 @@ pub trait BridgePoolContract: ContractContext }, ); - let dict = match client_address { + let dict = match actor { Address::Account(_) => &bridge_pool_instance.account_hash_liquidities_dict, Address::ContractPackage(_) => &bridge_pool_instance.hash_addr_liquidities_dict, Address::ContractHash(_) => return Err(Error::UnexpectedContractHash),