Skip to content

Commit

Permalink
fix: pass missing router param in plan module
Browse files Browse the repository at this point in the history
  • Loading branch information
ironman0x7b2 committed Jan 12, 2025
1 parent 387da58 commit f6e1cf9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions x/plan/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}

Expand Down
2 changes: 1 addition & 1 deletion x/vpn/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit f6e1cf9

Please sign in to comment.