Skip to content

Commit

Permalink
Merge branch 'release/0.4.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
Zikriya committed Aug 8, 2023
2 parents fa334c4 + f44745c commit 4beb13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contract/src/bridge_pool_contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ pub trait BridgePoolContract<Storage: ContractStorage>: ContractContext<Storage>
},
);

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),
Expand Down

0 comments on commit 4beb13d

Please sign in to comment.