Actually, revert anything Alby would sign to nip04 since Alby doesn't support nip44 yet

This commit is contained in:
Alex Gleason
2024-02-21 14:50:26 -06:00
parent 37e55b4e18
commit 641d2872d8
2 changed files with 3 additions and 3 deletions

View File

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