github.com/cosmos/cosmos-sdk@v0.50.10/x/gov/keeper/export_test.go (about) 1 package keeper 2 3 import sdk "github.com/cosmos/cosmos-sdk/types" 4 5 // ValidateInitialDeposit is a helper function used only in deposit tests which returns the same 6 // functionality of validateInitialDeposit private function. 7 func (k Keeper) ValidateInitialDeposit(ctx sdk.Context, initialDeposit sdk.Coins, expedited bool) error { 8 params, err := k.Params.Get(ctx) 9 if err != nil { 10 return err 11 } 12 13 return k.validateInitialDeposit(ctx, params, initialDeposit, expedited) 14 }