Skip to content

Commit

Permalink
add keeper in NewLegacyMsgServerImpl
Browse files Browse the repository at this point in the history
  • Loading branch information
skyargos committed May 27, 2024
1 parent 520bf62 commit 6ac361f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/gov/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ type legacyMsgServer struct {
// NewLegacyMsgServerImpl returns an implementation of the v1beta1 legacy MsgServer interface. It wraps around
// the current MsgServer
func NewLegacyMsgServerImpl(govAcct string, v1Server govtypesv1.MsgServer, k Keeper) govtypesv1beta1.MsgServer {
return &legacyMsgServer{govAcct: govAcct, server: v1Server}
return &legacyMsgServer{govAcct: govAcct, server: v1Server, keeper: k}
}

var _ govtypesv1beta1.MsgServer = legacyMsgServer{}
Expand Down

0 comments on commit 6ac361f

Please sign in to comment.