bug: pubkey missing form generic

This commit is contained in:
Kieran 2023-04-14 19:35:57 +01:00
parent 25df19e37e
commit ace3a53fc0
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
1 changed files with 1 additions and 0 deletions

View File

@ -340,6 +340,7 @@ export class EventPublisher {
async generic(fnHook: EventBuilderHook) {
const eb = new EventBuilder();
eb.pubKey(this.#pubKey);
fnHook(eb);
return await this.#sign(eb);
}