0g-chain/x/committee/abci.go
rhuairahrighairigh cae6cb196c make builds pass
2020-03-10 21:41:10 +00:00

13 lines
456 B
Go

package committee
// func BeginBlocker() {
// // TODO much the same as the current gov endblocker does
// // Get all active proposals
// // If voting periods are over, tally up the results
// // If a proposal passes run it through the correct handler
// // Handler need to be registered in app.go as they are for the current gov module
// handler := keeper.Router().GetRoute(proposal.ProposalRoute())
// err := handler(ctx, proposal.Content)
// }