lbryio/chainquery

View on GitHub
daemon/jobs/mempoolsync.go

Summary

Maintainability
A
35 mins
Test Coverage

Function processTxSet has 5 return statements (exceeds 4 allowed).
Open

func processTxSet(txSet lbrycrd.RawMempoolVerboseResponse, lastBlock *model.Block, staleTxs model.TransactionSlice) (bool, error) {
    currTxMap := make(map[string]*model.Transaction)
    for _, tx := range staleTxs {
        currTxMap[tx.Hash] = tx
    }
Severity: Major
Found in daemon/jobs/mempoolsync.go - About 35 mins to fix

There are no issues that match your filters.

Category
Status