From 61ceebad5fe75703074d88b163d74a58d139bb48 Mon Sep 17 00:00:00 2001 From: mattverse Date: Thu, 21 Mar 2024 19:35:47 +0900 Subject: [PATCH] Include expedited proposal logic --- 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 93fa124350bb..c8c8c74f9d03 100644 --- a/x/gov/keeper/deposit.go +++ b/x/gov/keeper/deposit.go @@ -124,7 +124,7 @@ func (keeper Keeper) AddDeposit(ctx sdk.Context, proposalID uint64, depositorAdd // NOTE: backported from v50 // v47 does not have expedited proposals so we always use params.MinDeposit - minDepositAmount := params.MinDeposit + minDepositAmount := proposal.GetMinDepositFromParams(params) minDepositRatio, err := sdk.NewDecFromStr(params.GetMinDepositRatio()) if err != nil { return false, err