Override tx generator for block

This commit is contained in:
nolash
2021-08-24 19:11:53 +02:00
parent 418c54e9c7
commit bff9305aac
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: