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

@ -68,6 +68,8 @@ class Block(BaseBlock):
:todo: Add hex to number parse to normalize :todo: Add hex to number parse to normalize
""" """
tx_generator = Tx
def __init__(self, src): def __init__(self, src):
self.hash = src['hash'] self.hash = src['hash']
try: try:

View File

@ -1,6 +1,6 @@
[metadata] [metadata]
name = chainlib-eth name = chainlib-eth
version = 0.0.9a2 version = 0.0.9a3
description = Ethereum implementation of the chainlib interface description = Ethereum implementation of the chainlib interface
author = Louis Holbrook author = Louis Holbrook
author_email = dev@holbrook.no author_email = dev@holbrook.no