mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2025-09-10 08:19:23 +00:00
Fix Nostr kind retrieval for size test
This commit is contained in:
@@ -60,7 +60,7 @@ def test_nostr_index_size_limits():
|
|||||||
break
|
break
|
||||||
client.close_client_pool()
|
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(f"\nNostr note Kind: {note_kind}")
|
||||||
print("Size | Payload Bytes | Published | Retrieved")
|
print("Size | Payload Bytes | Published | Retrieved")
|
||||||
for size, payload, pub, ret in results:
|
for size, payload, pub, ret in results:
|
||||||
|
Reference in New Issue
Block a user