Skip to content

Commit

Permalink
Update deposit.go
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic authored Mar 22, 2024
1 parent 57154c0 commit e231b19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/gov/keeper/deposit.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit e231b19

Please sign in to comment.