From 3755d0cbcef954c9f6e3811d0daf40f0880c6e2a Mon Sep 17 00:00:00 2001 From: highperfocused Date: Fri, 6 Mar 2026 13:33:26 +0100 Subject: [PATCH] fix: comment out timestamp prevention policies in event rejection --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 8fa93d6..d112458 100644 --- a/main.go +++ b/main.go @@ -100,8 +100,8 @@ func main() { relay.RejectEvent = append( relay.RejectEvent, policies.ValidateKind, - policies.PreventTimestampsInThePast(600), - policies.PreventTimestampsInTheFuture(60), + // policies.PreventTimestampsInThePast(600), + // policies.PreventTimestampsInTheFuture(60), func(ctx context.Context, event *nostr.Event) (reject bool, msg string) { if event.Kind == 20001 { return true, "kind 20001 events are not allowed"