mirror of
https://github.com/nostr-connect/connect.git
synced 2026-02-23 05:04:23 +01:00
update to new Event from nostr-tools
This commit is contained in:
@@ -71,7 +71,9 @@ const App = () => {
|
||||
pubkey: pubkey,
|
||||
created_at: Math.floor(Date.now() / 1000),
|
||||
tags: [],
|
||||
content: "Running Nostr Connect 🔌"
|
||||
content: "Running Nostr Connect 🔌",
|
||||
id: '',
|
||||
sig: '',
|
||||
};
|
||||
event.id = getEventHash(event)
|
||||
event.sig = await connect.signEvent(event);
|
||||
|
||||
Reference in New Issue
Block a user