Remove redundant backend setter code

This commit is contained in:
lash 2022-05-13 13:45:41 +00:00
parent 4e7ed45e80
commit 1adecdde2d
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
1 changed files with 0 additions and 5 deletions

View File

@ -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)