Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Jul 27, 2024
1 parent b3bd654 commit 63285f7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions internal/announce/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,10 @@ export class AnnounceMonitor {

sign(sk: Uint8Array): any {
if(!this.events) throw new Error("Event has not yet been generated (run generate() first)")
Object.values(this.events).forEach( publisher => {
Object.values(this.events).forEach( (publisher: any) => {
console.log(publisher.signEvent())
this.events[publisher.kind] = publisher.signEvent()
})
console.log(this.events[publisher.kind])
return this.events[publisher.kind]
}

async publish( relays: string[] ): Promise<string[]> {
Expand Down

0 comments on commit 63285f7

Please sign in to comment.