Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xueyuejie committed Nov 24, 2021
1 parent 2a27f04 commit 02ff777
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/SolanaSwift/SolanaPublicKey.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ extension SolanaPublicKey {
guard data.count == 32 else {
return false
}
guard is_on_curve(Data(data).sha256().bytes) == 0 else {
return false
}
// guard is_on_curve(Data(data).sha256().bytes) == 0 else {
// return false
// }
return true
}
}
Expand Down

0 comments on commit 02ff777

Please sign in to comment.