We do a little refactoring

This commit is contained in:
Alex Gleason
2023-04-10 19:34:00 -05:00
parent c26a424430
commit 53655f99bf
10 changed files with 45 additions and 38 deletions

View File

@@ -1,6 +1,5 @@
import { Context, getPublicKey } from '@/deps.ts';
import type { Event } from './event.ts';
import { type Event } from '@/nostr/event.ts';
/** Get the current time in Nostr format. */
const nostrNow = () => Math.floor(new Date().getTime() / 1000);