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

@@ -222,9 +222,10 @@ class Subscription:
for relay in dvmconfig.RELAY_LIST:
await client.add_relay(relay)
await client.connect()
recipeid = await client.send_event(event)
recipe = await client.send_event(event)
recipe_id = recipe.id
await client.shutdown()
recipe = recipeid.to_hex()
recipe = recipe_id.to_hex()
return recipe
async def handle_nwc_request(nostr_event):