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
|
- 0.1.1
|
||||||
* Add fee_limit, fee_price alias to Tx object
|
* Add fee_limit, fee_price alias to Tx object
|
||||||
- 0.1.0:
|
- 0.1.0:
|
||||||
|
@ -98,6 +98,7 @@ class Block(BaseBlock):
|
|||||||
self.timestamp = int(strip_0x(src['timestamp']), 16)
|
self.timestamp = int(strip_0x(src['timestamp']), 16)
|
||||||
except TypeError:
|
except TypeError:
|
||||||
self.timestamp = int(src['timestamp'])
|
self.timestamp = int(src['timestamp'])
|
||||||
|
self.author = src['author']
|
||||||
|
|
||||||
|
|
||||||
def get_tx(self, tx_hash):
|
def get_tx(self, tx_hash):
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = chainlib-eth
|
name = chainlib-eth
|
||||||
version = 0.1.2
|
version = 0.1.3
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user