the balance query calls cw20's query_balance method:
|
use cw20_base::contract::query_balance; |
|
QueryMsg::Balance { address } => to_binary(&query_balance(deps, address)?), |
this doesn't error as that method uses may_load, but it will always return zero. presumably that method should be removed?
the balance query calls cw20's
query_balancemethod:wasmswap-contracts/src/contract.rs
Line 10 in acb0140
wasmswap-contracts/src/contract.rs
Line 913 in acb0140
this doesn't error as that method uses
may_load, but it will always return zero. presumably that method should be removed?