event kinds as int, not uint8.

This commit is contained in:
fiatjaf
2021-11-28 16:36:42 -03:00
parent 16b56e22ef
commit 77fa373bab
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ type Event struct {
PubKey string `json:"pubkey"`
CreatedAt uint32 `json:"created_at"`
Kind uint8 `json:"kind"`
Kind int `json:"kind"`
Tags Tags `json:"tags"`
Content string `json:"content"`