commit 1adecdde2dd988f53ae025d636d4d99a3ed51df4
parent 4e7ed45e80932fd396ff194f1e986754f90aea92
Author: lash <dev@holbrook.no>
Date: Fri, 13 May 2022 13:45:41 +0000
Remove redundant backend setter code
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/chainsyncer/settings.py b/chainsyncer/settings.py
@@ -11,11 +11,6 @@ from chainlib.settings import ChainSettings
logg = logging.getLogger(__name__)
-def process_sync_backend(settings, config):
- settings.set('SYNCER_BACKEND', config.get('SYNCER_BACKEND'))
- return settings
-
-
def process_sync_range(settings, config):
o = settings.get('SYNCER_INTERFACE').block_latest()
r = settings.get('CONN').do(o)