mirror of
https://github.com/nbd-wtf/nostr-tools.git
synced 2025-12-14 10:58:52 +00:00
fix getBlankEvent.
This commit is contained in:
6
event.js
6
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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user