From 553b85d2b15c506f7bf1e399030a018e9cf8c45c Mon Sep 17 00:00:00 2001 From: dd dd Date: Sun, 4 Aug 2024 12:48:52 +0200 Subject: [PATCH] using base10 --- exit/nostr.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exit/nostr.go b/exit/nostr.go index e0132ed..e4c2600 100644 --- a/exit/nostr.go +++ b/exit/nostr.go @@ -19,9 +19,10 @@ func (e *Exit) announceExitNode(ctx context.Context) error { event := nostr.Event{ PubKey: e.publicKey, CreatedAt: nostr.Now(), - Kind: protocol.KindAnnouncementEvent, + + Kind: protocol.KindAnnouncementEvent, Tags: nostr.Tags{ - nostr.Tag{"expiration", strconv.FormatInt(time.Now().Add(time.Second*10).Unix(), 20)}, + nostr.Tag{"expiration", strconv.FormatInt(time.Now().Add(time.Second*10).Unix(), 10)}, }, }