Switch default encryption algorithm for nip46 to nip 44

This commit is contained in:
Jon Staab
2024-11-22 08:36:14 -08:00
parent 976aa375cd
commit 26c2fc133a
+1 -1
View File
@@ -145,7 +145,7 @@ export class Nip46Broker extends Emitter {
super() super()
this.#handler = params.handler this.#handler = params.handler
this.#algorithm = params.algorithm || 'nip04' this.#algorithm = params.algorithm || 'nip44'
this.#signer = new Nip01Signer(params.secret) this.#signer = new Nip01Signer(params.secret)
} }