Switch all nip04 calls to nip44

This commit is contained in:
Alex Gleason
2024-02-21 14:39:05 -06:00
parent 893484cbcc
commit d5d642b10b
4 changed files with 8 additions and 8 deletions

View File

@@ -197,7 +197,7 @@ async function payZap(event: DittoEvent, signal: AbortSignal) {
const nwcRequestEvent = await signer.signEvent({
kind: 23194,
content: await signer.nip04.encrypt(
content: await signer.nip44.encrypt(
event.pubkey,
JSON.stringify({ method: 'pay_invoice', params: { invoice: pr } }),
),