Add author property in block

This commit is contained in:
lash
2022-05-07 11:31:06 +00:00
parent e499770d6d
commit 9548ed5d1b
3 changed files with 6 additions and 1 deletions

View File

@@ -98,6 +98,7 @@ class Block(BaseBlock):
self.timestamp = int(strip_0x(src['timestamp']), 16)
except TypeError:
self.timestamp = int(src['timestamp'])
self.author = src['author']
def get_tx(self, tx_hash):