0g-chain/x/committee/abci.go

13 lines
456 B
Go
Raw Normal View History

2020-03-04 19:16:27 +00:00
package committee
2020-03-10 21:41:10 +00:00
// func BeginBlocker() {
// // TODO much the same as the current gov endblocker does
2020-03-04 19:16:27 +00:00
2020-03-10 21:41:10 +00:00
// // 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)
// }