Skip to content

Commit a27bf58

Browse files
authored
Merge pull request #93 from MostroP2P/rollback-sdk-0-38
Rollback mostro-cor to Nostr sdk 0.38
2 parents d0e4c4e + 21f49c2 commit a27bf58

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ sqlx-crud = { version = "0.4.0", features = [
3232
"runtime-tokio-rustls",
3333
], optional = true }
3434
wasm-bindgen = { version = "0.2.92", optional = true }
35-
nostr-sdk = "0.39.0"
35+
nostr-sdk = "0.38.0"
3636
bitcoin = "0.32.5"
3737
bitcoin_hashes = "0.16.0"
3838
rand = "0.9.0"

src/message.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,7 @@ impl Message {
204204
// Create a verification-only context for better performance
205205
let secp = Secp256k1::verification_only();
206206
// Verify signature
207-
pubkey
208-
.xonly()
209-
.map(|xonly| xonly.verify(&secp, &message, &sig).is_ok())
210-
.unwrap_or(false)
207+
pubkey.verify(&secp, &message, &sig).is_ok()
211208
}
212209
}
213210

0 commit comments

Comments
 (0)