eth-monitor

Monitor and cache ethereum transactions with match filters
git clone git://git.defalsify.org/eth-monitor.git
Log | Files | Refs | README | LICENSE

commit 1a8fe9551b709830e3ec968a852cab033038440e
parent 2ad885c2be5246aff640b9dbf9312cdfe3b05cb7
Author: lash <dev@holbrook.no>
Date:   Sun, 30 Jan 2022 23:22:56 +0000

Use chain spec instead of chain str

Diffstat:
MCHANGELOG | 2++
Meth_monitor/filters/out.py | 3+--
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -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 diff --git a/eth_monitor/filters/out.py b/eth_monitor/filters/out.py @@ -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