fix nip44Decrypt sending "nip44_encrypt" request (#435)
nip44Decrypt sends nip44_decrypt request
This commit is contained in:
parent
a61cde77ea
commit
4f6976f6f8
2
nip46.ts
2
nip46.ts
|
@ -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])
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue