Skip to content
This repository was archived by the owner on Jan 27, 2022. It is now read-only.

Fix Ethereum connector asyncio loop #703

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def workorder_event_handler_func(event, account, contract):

try:
daemon = EventProcessor(self._config)
asyncio.get_event_loop().run_until_complete(daemon.start(
asyncio.get_event_loop().create_task(daemon.start(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think similar fix required for fabric as well?

listener,
workorder_event_handler_func,
account=None,
Expand Down