mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-11-19 20:06:27 +01:00
update to rust-nostr 0.33
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user