refactor: reorder and rename methods

This commit is contained in:
Vlad Stan 2023-03-16 16:32:22 +02:00
parent f6b5034e74
commit fb888c1c3d
2 changed files with 30 additions and 24 deletions

View file

@ -42,7 +42,7 @@ def nostrmarket_start():
async def _subscribe_to_nostr_client():
# wait for 'nostrclient' extension to initialize
await asyncio.sleep(10)
await nostr_client.subscribe_to_nostr_client()
await nostr_client.run_forever()
async def _wait_for_nostr_events():
# wait for this extension to initialize