diff --git a/x/plan/keeper/keeper.go b/x/plan/keeper/keeper.go index 0c8d60d2..2fc5e9c8 100644 --- a/x/plan/keeper/keeper.go +++ b/x/plan/keeper/keeper.go @@ -26,10 +26,11 @@ type Keeper struct { subscription expected.SubscriptionKeeper } -func NewKeeper(cdc codec.BinaryCodec, key storetypes.StoreKey) Keeper { +func NewKeeper(cdc codec.BinaryCodec, key storetypes.StoreKey, router *baseapp.MsgServiceRouter) Keeper { return Keeper{ - cdc: cdc, - key: key, + cdc: cdc, + key: key, + router: router, } } diff --git a/x/vpn/keeper/keeper.go b/x/vpn/keeper/keeper.go index c55bd37c..a35480b9 100644 --- a/x/vpn/keeper/keeper.go +++ b/x/vpn/keeper/keeper.go @@ -34,7 +34,7 @@ func NewKeeper( Deposit: depositkeeper.NewKeeper(cdc, key), Lease: leasekeeper.NewKeeper(cdc, key, router, authority, feeCollectorName), Node: nodekeeper.NewKeeper(cdc, key, router, authority, feeCollectorName), - Plan: plankeeper.NewKeeper(cdc, key), + Plan: plankeeper.NewKeeper(cdc, key, router), Provider: providerkeeper.NewKeeper(cdc, key, router, authority), Session: sessionkeeper.NewKeeper(cdc, key, router, authority, feeCollectorName), Subscription: subscriptionkeeper.NewKeeper(cdc, key, router, authority, feeCollectorName),