mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-08 16:28:49 +00:00
fix getPublicKey to return the bip340 key.
This commit is contained in:
2
keys.js
2
keys.js
@@ -5,5 +5,5 @@ export function generatePrivateKey() {
|
||||
}
|
||||
|
||||
export function getPublicKey(privateKey) {
|
||||
return secp256k1.getPublicKey(privateKey)
|
||||
return secp256k1.schnorr.getPublicKey(privateKey)
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "nostr-tools",
|
||||
"version": "0.14.2",
|
||||
"version": "0.14.3",
|
||||
"description": "Tools for making a Nostr client.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user