synapsecns/sanguine

View on GitHub
services/cctp-relayer/api/server.go

Summary

Maintainability
A
40 mins
Test Coverage

Method RelayerAPIServer.Start has 6 return statements (exceeds 4 allowed).
Open

func (r RelayerAPIServer) Start(ctx context.Context) error {
    engine := gin.Default()
    engine.GET("/tx", func(ctx *gin.Context) {
        r.GetTx(ctx)
    })
Severity: Major
Found in services/cctp-relayer/api/server.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status