15 lines
408 B
Go
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
|
|
}
|