Fantom-foundation/go-lachesis

View on GitHub
evmcore/tx_list.go

Summary

Maintainability
A
35 mins
Test Coverage

Method txList.Filter has 5 return statements (exceeds 4 allowed).
Open

func (l *txList) Filter(costLimit *big.Int, gasLimit uint64) (types.Transactions, types.Transactions) {
    // If all transactions are below the threshold, short circuit
    if l.costcap.Cmp(costLimit) <= 0 && l.gascap <= gasLimit {
        return nil, nil
    }
Severity: Major
Found in evmcore/tx_list.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status