synapsecns/sanguine

View on GitHub
contrib/screener-api/client/client.go

Summary

Maintainability
A
35 mins
Test Coverage

Method clientImpl.BlacklistAddress has 5 return statements (exceeds 4 allowed).
Open

func (c clientImpl) BlacklistAddress(ctx context.Context, appsecret string, appid string, body BlackListBody) (string, error) {
    var blacklistRes blacklistResponse

    nonce := strings.ReplaceAll(uuid.New().String(), "-", "")[:32]
    timestamp := fmt.Sprintf("%d", time.Now().Unix())
Severity: Major
Found in contrib/screener-api/client/client.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status