contrib/screener-api/client/client.go
Method clientImpl.BlacklistAddress
has 5 return statements (exceeds 4 allowed). Open
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())