Append backend to correct array
This commit is contained in:
parent
4d2ae5023c
commit
7ada95c6c1
@ -77,7 +77,7 @@ def main():
|
|||||||
|
|
||||||
if len(syncer_backends) == 0:
|
if len(syncer_backends) == 0:
|
||||||
logg.info('found no backends to resume')
|
logg.info('found no backends to resume')
|
||||||
syncers.append(SQLBackend.initial(chain_spec, block_offset))
|
syncers_backends.append(SQLBackend.initial(chain_spec, block_offset))
|
||||||
else:
|
else:
|
||||||
for syncer_backend in syncer_backends:
|
for syncer_backend in syncer_backends:
|
||||||
logg.info('resuming sync session {}'.format(syncer_backend))
|
logg.info('resuming sync session {}'.format(syncer_backend))
|
||||||
|
Loading…
Reference in New Issue
Block a user