chore: update nostr-tools (#248)

This commit is contained in:
Cody Tseng 2025-04-03 17:58:59 +08:00 committed by GitHub
parent 124239839c
commit 84ef234d38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 10 deletions

View file

@ -41,11 +41,7 @@ export class BunkerSigner implements ISigner {
if (!this.signer) {
throw new Error('Not logged in')
}
const pubkey = await this.getPublicKey()
return this.signer.signEvent({
...draftEvent,
pubkey
})
return this.signer.signEvent(draftEvent)
}
async nip04Encrypt(pubkey: string, plainText: string) {