readability update

This commit is contained in:
agatha 2024-06-08 13:15:49 -04:00
parent 0cfff490b7
commit 6510eab5a8

View File

@ -19,7 +19,10 @@ async def main():
queue = Queue() queue = Queue()
bot = MatrixBot(config['matrix']) bot = MatrixBot(config['matrix'])
monitor = EventMonitor( monitor = EventMonitor(
config={"infura_url": config['infura_url'], "pool_address": config['pool_address']}, config={
"infura_url": config['infura_url'],
"pool_address": config['pool_address']
},
queue=queue queue=queue
) )
monitor_thread = threading.Thread(target=monitor.log_loop, args=(15,)) monitor_thread = threading.Thread(target=monitor.log_loop, args=(15,))