From bff9305aac7f3486f1d68e7212e3263b6196fdbb Mon Sep 17 00:00:00 2001 From: nolash Date: Tue, 24 Aug 2021 19:11:53 +0200 Subject: [PATCH] Override tx generator for block --- chainlib/eth/block.py | 4 +++- setup.cfg | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/chainlib/eth/block.py b/chainlib/eth/block.py index 2a0c328..7114f08 100644 --- a/chainlib/eth/block.py +++ b/chainlib/eth/block.py @@ -67,7 +67,9 @@ class Block(BaseBlock): :type src: dict :todo: Add hex to number parse to normalize """ - + + tx_generator = Tx + def __init__(self, src): self.hash = src['hash'] try: diff --git a/setup.cfg b/setup.cfg index b1346a5..f3f6812 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = chainlib-eth -version = 0.0.9a2 +version = 0.0.9a3 description = Ethereum implementation of the chainlib interface author = Louis Holbrook author_email = dev@holbrook.no