We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d0e4c4e + 21f49c2 commit a27bf58Copy full SHA for a27bf58
Cargo.toml
@@ -32,7 +32,7 @@ sqlx-crud = { version = "0.4.0", features = [
32
"runtime-tokio-rustls",
33
], optional = true }
34
wasm-bindgen = { version = "0.2.92", optional = true }
35
-nostr-sdk = "0.39.0"
+nostr-sdk = "0.38.0"
36
bitcoin = "0.32.5"
37
bitcoin_hashes = "0.16.0"
38
rand = "0.9.0"
src/message.rs
@@ -204,10 +204,7 @@ impl Message {
204
// Create a verification-only context for better performance
205
let secp = Secp256k1::verification_only();
206
// Verify signature
207
- pubkey
208
- .xonly()
209
- .map(|xonly| xonly.verify(&secp, &message, &sig).is_ok())
210
- .unwrap_or(false)
+ pubkey.verify(&secp, &message, &sig).is_ok()
211
}
212
213
0 commit comments