fix nip44Decrypt sending "nip44_encrypt" request (#435)

nip44Decrypt sends nip44_decrypt request
This commit is contained in:
space-shell 2024-09-24 17:56:36 +02:00 committed by GitHub
parent a61cde77ea
commit 4f6976f6f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -254,7 +254,7 @@ export class BunkerSigner {
}
async nip44Decrypt(thirdPartyPubkey: string, ciphertext: string): Promise<string> {
return await this.sendRequest('nip44_encrypt', [thirdPartyPubkey, ciphertext])
return await this.sendRequest('nip44_decrypt', [thirdPartyPubkey, ciphertext])
}
}