Override tx generator for block

This commit is contained in:
nolash 2021-08-24 19:11:53 +02:00
parent 418c54e9c7
commit bff9305aac
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
2 changed files with 4 additions and 2 deletions

View File

@ -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:

View File

@ -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