Skip to content

Commit

Permalink
[DFI-948] added text proposal support (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
g3co authored Nov 3, 2020
1 parent eccb5be commit f208a41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ func NewDnServiceApp(logger log.Logger, db dbm.DB, config *config.VMConfig, invC

// GovernanceKeeper allows changing chain module params.
app.govRouter = gov.NewRouter()
app.govRouter.AddRoute(gov.RouterKey, gov.ProposalHandler)
app.govRouter.AddRoute(vm.GovRouterKey, vm.NewGovHandler(app.vmKeeper))
app.govRouter.AddRoute(currencies.GovRouterKey, currencies.NewGovHandler(app.ccKeeper))
app.govRouter.AddRoute(distribution.RouterKey, distribution.NewProposalHandler(app.distrKeeper))
Expand Down

0 comments on commit f208a41

Please sign in to comment.