From 145a720813208321fc227ceb6c5b393a47eed25d Mon Sep 17 00:00:00 2001 From: Yun Yeo Date: Mon, 8 Mar 2021 15:09:22 +0900 Subject: [PATCH] typofix + changelog --- CHANGELOG.md | 1 + x/gov/client/utils/query.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 972be3a80771..689e055038bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -85,6 +85,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (x/bank) [\#8434](https://github.com/cosmos/cosmos-sdk/pull/8434) Fix legacy REST API `GET /bank/total` and `GET /bank/total/{denom}` in swagger * (x/slashing) [\#8427](https://github.com/cosmos/cosmos-sdk/pull/8427) Fix query signing infos command * (server) [\#8399](https://github.com/cosmos/cosmos-sdk/pull/8399) fix gRPC-web flag default value +* (x/gov) [\#8813](https://github.com/cosmos/cosmos-sdk/pull/8813) fix `GET /cosmos/gov/v1beta1/proposals/{proposal_id}/deposits` to include initial deposit ## [v0.41.4](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.41.3) - 2021-03-02 diff --git a/x/gov/client/utils/query.go b/x/gov/client/utils/query.go index 68ad0064d7ec..d10637fa003d 100644 --- a/x/gov/client/utils/query.go +++ b/x/gov/client/utils/query.go @@ -39,7 +39,7 @@ func (p Proposer) String() string { func QueryDepositsByTxQuery(clientCtx client.Context, params types.QueryProposalParams) ([]byte, error) { var deposits []types.Deposit - // initial deposit was submitted with proposal, so must be queried seperately + // initial deposit was submitted with proposal, so must be queried separately initialDeposit, err := QueryInitialDepositByTxQuery(clientCtx, params.ProposalID) if err != nil { return nil, err