feat(kind): using constants

This commit is contained in:
Isaque Veras
2023-09-06 21:00:05 -03:00
committed by fiatjaf_
parent eef7c40dc7
commit 0f66883dc7
12 changed files with 38 additions and 35 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ func TestDelegateSign(t *testing.T) {
ev := &nostr.Event{}
ev.CreatedAt = nostr.Timestamp(1600000050)
ev.Content = "hello world"
ev.Kind = 1
ev.Kind = nostr.KindTextNote
if err != nil {
t.Error(err)
}