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)}, }, }