services/rfq/api/rest/auth.go
Function EIP191Auth
has 7 return statements (exceeds 4 allowed). Open
Open
func EIP191Auth(c *gin.Context, deadline int64) (accountRecovered common.Address, err error) {
auth := c.Request.Header.Get(AuthorizationHeader)
// parse <timestamp>:<signature>
s := strings.Split(auth, ":")