using base10

This commit is contained in:
dd dd 2024-08-04 12:48:52 +02:00
parent 574d718f48
commit 553b85d2b1

View File

@ -19,9 +19,10 @@ func (e *Exit) announceExitNode(ctx context.Context) error {
event := nostr.Event{ event := nostr.Event{
PubKey: e.publicKey, PubKey: e.publicKey,
CreatedAt: nostr.Now(), CreatedAt: nostr.Now(),
Kind: protocol.KindAnnouncementEvent, Kind: protocol.KindAnnouncementEvent,
Tags: nostr.Tags{ 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)},
}, },
} }