synapsecns/sanguine

View on GitHub
services/rfq/guard/guarddb/base/model.go

Summary

Maintainability
A
40 mins
Test Coverage

Method BridgeRequestModel.ToBridgeRequest has 6 return statements (exceeds 4 allowed).
Open

func (b BridgeRequestModel) ToBridgeRequest() (*guarddb.BridgeRequest, error) {
    txID, err := hexutil.Decode(b.TransactionID)
    if err != nil {
        return nil, fmt.Errorf("could not get transaction id: %w", err)
    }
Severity: Major
Found in services/rfq/guard/guarddb/base/model.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status