mirror of
https://github.com/asmogo/nws.git
synced 2025-01-18 10:01:33 +00:00
using base10
This commit is contained in:
parent
574d718f48
commit
553b85d2b1
@ -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)},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user