expose hexToBytes and bytesToHex helpers.

This commit is contained in:
fiatjaf
2025-05-28 14:50:25 -03:00
parent 924075b803
commit 57354b9fb4
2 changed files with 3 additions and 1 deletions

View File

@@ -32,7 +32,7 @@ export async function makeNwcRequestEvent(
invoice,
},
}
const encryptedContent = await encrypt(secretKey, pubkey, JSON.stringify(content))
const encryptedContent = encrypt(secretKey, pubkey, JSON.stringify(content))
const eventTemplate = {
kind: NWCWalletRequest,
created_at: Math.round(Date.now() / 1000),