Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
fffilimonov committed Feb 18, 2025
1 parent f9f3774 commit e6af8d6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions auth/verifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ func (v *APIKeyTokenVerifier) Verify(key interface{}) (*ClaimGrants, error) {
if !ok {
return nil, ErrKeysMissing
}
if s == nil || s == "" {
return nil, ErrKeysMissing
}

pubKeyB, err := solana.PublicKeyFromBase58(s)
if err != nil {
Expand Down

0 comments on commit e6af8d6

Please sign in to comment.