Add chain interface

This commit is contained in:
nolash 2021-07-02 11:58:28 +02:00
parent 59c422c5e7
commit 274222c44c
Signed by untrusted user who does not match committer: lash
GPG Key ID: 21D2E7BB88C2A746
1 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ from cic_base import (
rpc,
signer as signer_funcs,
)
from cic_base.eth.syncer import chain_interface
# local imports
#import common
@ -120,7 +121,7 @@ def main():
'api_queue': config.get('_CELERY_QUEUE'),
}
syncer = HeadSyncer(syncer_backend, block_callback=handler.refresh)
syncer = HeadSyncer(syncer_backend, chain_interface, block_callback=handler.refresh)
syncer.add_filter(handler)
syncer.loop(1, conn)