Geth additions

This commit is contained in:
ZigaMr 2022-05-07 18:30:45 +02:00
parent 22d98afa1c
commit 1873712c03
2 changed files with 4 additions and 3 deletions

View File

@ -18,7 +18,7 @@ case "$1" in
--quiet \
--pidfile $PIDFILE \
--make-pidfile \
--startas /bin/bash -- -c "poetry run python listener.py"
--startas /bin/bash -- -c "poetry run python listener.py $2"
echo "."
;;
stop)
@ -42,7 +42,7 @@ case "$1" in
--quiet \
--pidfile $PIDFILE \
--make-pidfile \
--startas /bin/bash -- -c "poetry run python listener.py"
--startas /bin/bash -- -c "poetry run python listener.py $2"
echo "."
;;

View File

@ -1,6 +1,7 @@
import asyncio
import logging
import os
import sys
import dramatiq
from aiohttp_retry import ExponentialRetry, RetryClient
@ -52,7 +53,7 @@ async def run():
priority=HIGH_PRIORITY,
)
inspector = MEVInspector(rpc)
inspector = MEVInspector(rpc, type=sys.argv[1])
base_provider = get_base_provider(rpc)
while not killer.kill_now: