Publish the signed event
This commit is contained in:
parent
b11cb3e5b6
commit
6333b0801c
1 changed files with 2 additions and 2 deletions
4
main.ts
4
main.ts
|
@ -172,8 +172,8 @@ for (const i in posts) {
|
|||
event.tags = [...event.tags, ...geotags];
|
||||
}
|
||||
const signed_event = await signer.signEvent(event);
|
||||
console.log(event);
|
||||
events.push(event);
|
||||
console.log(signed_event);
|
||||
events.push(signed_event);
|
||||
|
||||
completed++;
|
||||
if (completed == n) break;
|
||||
|
|
Loading…
Reference in a new issue