Fantom-foundation/go-lachesis

View on GitHub
evmcore/tx_journal.go

Summary

Maintainability
A
40 mins
Test Coverage

Method txJournal.rotate has 6 return statements (exceeds 4 allowed).
Open

func (journal *txJournal) rotate(all map[common.Address]types.Transactions) error {
    // Close the current journal (if any is open)
    if journal.writer != nil {
        if err := journal.writer.Close(); err != nil {
            return err
Severity: Major
Found in evmcore/tx_journal.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status