From 64e2f7f826ecffb32d663db75e45d78587274c83 Mon Sep 17 00:00:00 2001 From: Nicolas Cantu Date: Tue, 6 Jan 2026 22:28:46 +0100 Subject: [PATCH] lint fix wip --- lib/platformConfig.ts | 4 ++-- lib/platformSync.ts | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/platformConfig.ts b/lib/platformConfig.ts index a7458f0..0a30034 100644 --- a/lib/platformConfig.ts +++ b/lib/platformConfig.ts @@ -3,5 +3,5 @@ export const PLATFORM_BITCOIN_ADDRESS = 'bc1qerauk5yhqytl6z93ckvwkylup8s0256uenz export const PLATFORM_SERVICE = 'zapwall.fr' // Minimum date for Nostr events: January 5, 2026 00:00:00 UTC -// Timestamp Unix: 1736028800 -export const MIN_EVENT_DATE = 1736028800 +// Timestamp Unix: 1767571200 +export const MIN_EVENT_DATE = 1767571200 diff --git a/lib/platformSync.ts b/lib/platformSync.ts index 901a4b1..f69bf75 100644 --- a/lib/platformSync.ts +++ b/lib/platformSync.ts @@ -67,6 +67,7 @@ class PlatformSyncService { /** * Perform a sync operation * Scans all notes with service='zapwall.fr' tag from ALL active relays + * Starts from January 5, 2026 00:00:00 UTC */ private async performSync(pool: SimplePoolWithSub): Promise { const filters = [ @@ -74,7 +75,7 @@ class PlatformSyncService { ...buildTagFilter({ service: PLATFORM_SERVICE, }), - since: MIN_EVENT_DATE, + since: MIN_EVENT_DATE, // January 5, 2026 00:00:00 UTC limit: 1000, // Get up to 1000 events per sync }, ]