Add empty brackets to GetAllSetoffs query (#182)
This commit is contained in:
parent
1a2ab7d008
commit
53c10273fa
2 changed files with 2 additions and 2 deletions
|
@ -337,7 +337,7 @@ pub mod execute {
|
|||
#[cfg_attr(not(feature = "library"), entry_point)]
|
||||
pub fn query(deps: Deps, _env: Env, msg: QueryMsg) -> StdResult<Binary> {
|
||||
match msg {
|
||||
QueryMsg::GetAllSetoffs => to_json_binary(&query::get_all_setoffs(deps)?),
|
||||
QueryMsg::GetAllSetoffs {} => to_json_binary(&query::get_all_setoffs(deps)?),
|
||||
QueryMsg::GetLiquiditySources { epoch } => {
|
||||
to_json_binary(&query::get_liquidity_sources(deps, epoch)?)
|
||||
}
|
||||
|
|
|
@ -138,7 +138,7 @@ pub mod execute {
|
|||
#[derive(QueryResponses)]
|
||||
pub enum QueryMsg {
|
||||
#[returns(GetAllSetoffsResponse)]
|
||||
GetAllSetoffs,
|
||||
GetAllSetoffs {},
|
||||
#[returns(GetLiquiditySourcesResponse)]
|
||||
GetLiquiditySources { epoch: Option<Uint64> }, // `None` means latest
|
||||
#[returns(cw20::BalanceResponse)]
|
||||
|
|
Loading…
Reference in a new issue