Switch default encryption algorithm for nip46 to nip 44
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user