_hex
This commit is contained in:
parent
7d30c9a90d
commit
dc5f6fe531
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ export default class {
|
|||
const ck = nip44.getConversationKey(Buffer.from(app.nostr_private_key, 'hex'), appUser.nostr_public_key)
|
||||
const j = JSON.stringify(op)
|
||||
const encrypted = nip44.encrypt(j, ck)
|
||||
const encryptedData: { encrypted: string, app_npub: string } = { encrypted, app_npub: app.nostr_public_key }
|
||||
const encryptedData: { encrypted: string, app_npub_hex: string } = { encrypted, app_npub_hex: app.nostr_public_key }
|
||||
this.notificationsManager.SendNotification(JSON.stringify(encryptedData), tokens, {
|
||||
pubkey: app.nostr_public_key!,
|
||||
privateKey: app.nostr_private_key!
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue