cosmos-sdk/x/bank/keeper/export_test.go
2023-10-27 09:25:04 +00:00

15 lines
408 B
Go

package keeper
import "cosmossdk.io/x/bank/types"
// This file exists in the keeper package to expose some private things
// for the purpose of testing in the keeper_test package.
func (k BaseSendKeeper) SetSendRestriction(restriction types.SendRestrictionFn) {
k.sendRestriction.fn = restriction
}
func (k BaseSendKeeper) GetSendRestrictionFn() types.SendRestrictionFn {
return k.sendRestriction.fn
}