Add common tx result fields
This commit is contained in:
parent
04a09334ea
commit
883a931495
@ -21,7 +21,6 @@ class Block(Src):
|
||||
|
||||
def __init__(self, src):
|
||||
self.number = None
|
||||
self.hash = None
|
||||
self.txs = []
|
||||
self.author = None
|
||||
|
||||
|
@ -78,4 +78,7 @@ class TxResult(Src):
|
||||
|
||||
def __init__(self, src):
|
||||
self.status = Status.UNKNOWN
|
||||
super(TxResult, self).__init__(src)
|
||||
self.tx_index = None
|
||||
self.block_hash = None
|
||||
self.fee_cost = 0
|
||||
super(TxResult, self).__init__(src=src)
|
||||
|
Loading…
Reference in New Issue
Block a user