consensus/impl/dpos/blockfactory.go
Method BlockFactory.controller
has 7 return statements (exceeds 4 allowed). Open
Open
func (bf *BlockFactory) controller() {
defer shutdownMsg("block factory controller")
beginBlock := func(bpi *bpInfo) error {
// This is only for draining an unconsumed message, which means