synapsecns/sanguine

View on GitHub
ethergo/chain/client/near/block.go

Summary

Maintainability
A
1 hr
Test Coverage

Function getBlock has 10 return statements (exceeds 4 allowed).
Open

func getBlock(ctx context.Context, c AuroraClient, method string, args ...interface{}) (*types.Block, error) {
    var raw json.RawMessage
    err := c.CallContext(ctx, &raw, method, args...)
    if err != nil {
        //nolint:wrapcheck
Severity: Major
Found in ethergo/chain/client/near/block.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status