Add author property in block
This commit is contained in:
parent
e499770d6d
commit
9548ed5d1b
@ -1,3 +1,7 @@
|
||||
- 0.1.3
|
||||
* Add block author field
|
||||
- 0.1.2
|
||||
* Upgrade chainlib dep
|
||||
- 0.1.1
|
||||
* Add fee_limit, fee_price alias to Tx object
|
||||
- 0.1.0:
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user