mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-20 23:14:20 +01:00
Switch all nip04 calls to nip44
This commit is contained in:
@@ -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 } }),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user