mirror of
git://holbrook.no/eth-monitor.git
synced 2024-11-21 20:06:46 +01:00
Handle missing filters from arg
This commit is contained in:
parent
fe9b657b36
commit
243bc86b73
@ -317,10 +317,11 @@ def process_out_filter(settings, config):
|
|||||||
|
|
||||||
def process_arg_filter(settings, config):
|
def process_arg_filter(settings, config):
|
||||||
store = settings.get('SYNC_STORE')
|
store = settings.get('SYNC_STORE')
|
||||||
for k in config.get('ETHMONITOR_FILTER'):
|
if config.get('ETHMONITOR_FILTER') != None:
|
||||||
m = importlib.import_module(k)
|
for k in config.get('ETHMONITOR_FILTER'):
|
||||||
fltr = m.Filter()
|
m = importlib.import_module(k)
|
||||||
store.register(fltr)
|
fltr = m.Filter()
|
||||||
|
store.register(fltr)
|
||||||
return settings
|
return settings
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
chainlib-eth~=0.3.0
|
chainlib-eth~=0.4.1
|
||||||
chainlib~=0.3.0
|
chainlib~=0.4.0
|
||||||
chainsyncer~=0.5.0
|
chainsyncer~=0.6.0
|
||||||
leveldir~=0.3.0
|
leveldir~=0.3.0
|
||||||
eth-cache~=0.1.6
|
eth-cache~=0.2.0
|
||||||
confini~=0.6.3
|
confini~=0.6.3
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = eth-monitor
|
name = eth-monitor
|
||||||
version = 0.5.1
|
version = 0.6.0
|
||||||
description = Monitor and cache transactions using match filters
|
description = Monitor and cache transactions using match filters
|
||||||
author = Louis Holbrook
|
author = Louis Holbrook
|
||||||
author_email = dev@holbrook.no
|
author_email = dev@holbrook.no
|
||||||
|
Loading…
Reference in New Issue
Block a user