Skip to content

Commit

Permalink
fix supply NewQuerierHandler (#4672)
Browse files Browse the repository at this point in the history
  • Loading branch information
fedekunze authored and Alessio Treglia committed Jul 3, 2019
1 parent ef7e266 commit b0a359c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions x/supply/alias.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ var (
AllInvariants = keeper.AllInvariants
TotalSupply = keeper.TotalSupply
NewKeeper = keeper.NewKeeper
NewQuerier = keeper.NewQuerier
SupplyKey = keeper.SupplyKey
NewModuleAddress = types.NewModuleAddress
NewEmptyModuleAccount = types.NewEmptyModuleAccount
Expand Down
2 changes: 1 addition & 1 deletion x/supply/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (AppModule) QuerierRoute() string {

// module querier
func (am AppModule) NewQuerierHandler() sdk.Querier {
return nil
return NewQuerier(am.keeper)
}

// module init-genesis
Expand Down

0 comments on commit b0a359c

Please sign in to comment.