debug alby again... sigh

This commit is contained in:
William Casarin 2022-11-18 07:39:16 -08:00
parent bb27b1c339
commit c783b430bf
3 changed files with 3 additions and 2 deletions

View file

@ -1232,6 +1232,7 @@ async function get_pubkey() {
if (pubkey)
return pubkey
console.log("window.nostr", window.nostr)
if (window.nostr && window.nostr.getPublicKey) {
const pubkey = await window.nostr.getPublicKey()
console.log("got %s pubkey from nos2x", pubkey)