Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
nostr-tools name change
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc committed Feb 17, 2024
1 parent 0e56fb7 commit 1319a74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/market/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ <h6 class="text-subtitle1 q-my-none">
window.URL.revokeObjectURL(url)
},
generateKeys() {
const privkey = nostr.generatePrivateKey()
const privkey = nostr.generateSecretKey()
const pubkey = nostr.getPublicKey(privkey)

this.keys = {privkey, pubkey}
Expand Down
2 changes: 1 addition & 1 deletion templates/market/order.html
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ <h6 class="q-my-md text-primary">Bookmark this page</h6>
if ('publickey' in this.user.keys && 'privatekey' in this.user.keys)
return

const privkey = nostr.generatePrivateKey()
const privkey = nostr.generateSecretKey()
const pubkey = nostr.getPublicKey(privkey)

this.user.keys = {
Expand Down

0 comments on commit 1319a74

Please sign in to comment.