From e231b19db7e34f979baf6e75b36353ce34d87330 Mon Sep 17 00:00:00 2001 From: Adam Tucker Date: Fri, 22 Mar 2024 14:05:01 -0500 Subject: [PATCH] Update deposit.go --- x/gov/keeper/deposit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/gov/keeper/deposit.go b/x/gov/keeper/deposit.go index c8c8c74f9d03..2928a0bf987f 100644 --- a/x/gov/keeper/deposit.go +++ b/x/gov/keeper/deposit.go @@ -123,7 +123,7 @@ func (keeper Keeper) AddDeposit(ctx sdk.Context, proposalID uint64, depositorAdd params := keeper.GetParams(ctx) // NOTE: backported from v50 - // v47 does not have expedited proposals so we always use params.MinDeposit + // Upstream v47 does not have expedited proposals but we do, so we check the minDeposit here minDepositAmount := proposal.GetMinDepositFromParams(params) minDepositRatio, err := sdk.NewDecFromStr(params.GetMinDepositRatio()) if err != nil {