From 636a9bbec234a2f6919d52e95f29ab54870d821b Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Wed, 2 Jul 2025 12:31:16 -0400 Subject: [PATCH] Fix Nostr kind retrieval for size test --- src/tests/test_nostr_index_size.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/test_nostr_index_size.py b/src/tests/test_nostr_index_size.py index f920ba9..8af7487 100644 --- a/src/tests/test_nostr_index_size.py +++ b/src/tests/test_nostr_index_size.py @@ -60,7 +60,7 @@ def test_nostr_index_size_limits(): break client.close_client_pool() - note_kind = Kind.from_std(KindStandard.TEXT_NOTE).to_int() + note_kind = Kind.from_std(KindStandard.TEXT_NOTE).as_u16() print(f"\nNostr note Kind: {note_kind}") print("Size | Payload Bytes | Published | Retrieved") for size, payload, pub, ret in results: