diff --git a/event.js b/event.js index b0257d6..4f7b848 100644 --- a/event.js +++ b/event.js @@ -2,13 +2,13 @@ import * as secp256k1 from 'noble-secp256k1' import {sha256} from './utils' -export function getBlankEvent(evt) { +export function getBlankEvent() { return { - kind: -1, + kind: 255, pubkey: null, content: '', tags: [], - created_at: Math.round(Date.now() / 1000) + created_at: 0 } } diff --git a/package.json b/package.json index 6f442da..6513283 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nostr-tools", - "version": "0.4.5", + "version": "0.4.6", "description": "Tools for making a Nostr client.", "main": "index.js", "repository": {