mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-25 00:27:25 +01:00
add lmdb database, update to new sdk
This commit is contained in:
@@ -65,7 +65,7 @@ async def nostr_client():
|
||||
print(f"Received new event from {relay_url}: {event.as_json()}")
|
||||
if event.kind() == 7000:
|
||||
print("[Nostr Client]: " + event.as_json())
|
||||
elif 6000 < event.kind().as_u64() < 6999:
|
||||
elif 6000 < event.kind().as_u16() < 6999:
|
||||
print("[Nostr Client]: " + event.as_json())
|
||||
print("[Nostr Client]: " + event.content())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user