aergoio/aergo

View on GitHub
consensus/impl/dpos/blockfactory.go

Summary

Maintainability
A
45 mins
Test Coverage
F
2%

Method BlockFactory.controller has 7 return statements (exceeds 4 allowed).
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
Severity: Major
Found in consensus/impl/dpos/blockfactory.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status