update to rust-nostr 0.33

This commit is contained in:
Believethehype
2024-07-16 23:27:15 +02:00
parent 614e385989
commit 35b40dca11
9 changed files with 20 additions and 17 deletions

View File

@@ -223,7 +223,8 @@ async def send_event(event: Event, client: Client, dvm_config, blastr=False):
#if blastr:
# client.add_relay("wss://nostr.mutinywallet.com")
try:
event_id = await client.send_event(event)
output = await client.send_event(event)
event_id = output.id
except Exception as e:
print(e)
event_id = None