mirror of
git://holbrook.no/eth-monitor.git
synced 2024-11-21 12:06:45 +01:00
Use chain spec instead of chain str
This commit is contained in:
parent
2ad885c2be
commit
1a8fe9551b
@ -1,3 +1,5 @@
|
||||
- 0.0.6
|
||||
* Pass chain spec instead of chain str to output renderers
|
||||
- 0.0.5
|
||||
* Remove faulty module dependency in sync runnable script
|
||||
- 0.0.4
|
||||
|
@ -22,14 +22,13 @@ class OutFilter(RuledFilter):
|
||||
self.renderers = renderers
|
||||
self.c = 0
|
||||
self.chain_spec = chain_spec
|
||||
self.chain_spec_str = str(chain_spec)
|
||||
|
||||
|
||||
def filter(self, conn, block, tx, db_session=None):
|
||||
s = None
|
||||
|
||||
for renderer in self.renderers:
|
||||
s = renderer.apply(self.c, s, self.chain_spec_str, conn, block, tx)
|
||||
s = renderer.apply(self.c, s, self.chain_spec, conn, block, tx)
|
||||
if s != None:
|
||||
break
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user