mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-17 19:13:56 +02:00
add kinds
This commit is contained in:
@@ -26,7 +26,7 @@ func GiftWrap(
|
||||
}
|
||||
|
||||
seal := nostr.Event{
|
||||
Kind: 13,
|
||||
Kind: nostr.KindSeal,
|
||||
Content: rumorCiphertext,
|
||||
CreatedAt: nostr.Now() - nostr.Timestamp(60*rand.Int63n(600) /* up to 6 hours in the past */),
|
||||
Tags: make(nostr.Tags, 0),
|
||||
@@ -47,7 +47,7 @@ func GiftWrap(
|
||||
}
|
||||
|
||||
gw := nostr.Event{
|
||||
Kind: 1059,
|
||||
Kind: nostr.KindGiftWrap,
|
||||
Content: sealCiphertext,
|
||||
CreatedAt: nostr.Now() - nostr.Timestamp(60*rand.Int63n(600) /* up to 6 hours in the past */),
|
||||
Tags: nostr.Tags{
|
||||
|
Reference in New Issue
Block a user