Add fields to block object

This commit is contained in:
lash 2022-05-12 08:06:14 +00:00
parent 272bf43ba5
commit 91d9654052
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746
1 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,10 @@ class Block(Src):
self.get_tx = self.tx_index_by_hash
self.tx = self.tx_by_index
self.fee_limit = 0
self.fee_cost = 0
self.parent_hash = None
super(Block, self).__init__(src=src)