fix: bunker sign no response

This commit is contained in:
codytseng
2025-01-08 10:03:29 +08:00
parent 50658f6d91
commit bfba681461

View File

@@ -41,9 +41,10 @@ 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: await this.signer.getPublicKey()
pubkey
})
}