Make status methods properties
This commit is contained in:
parent
23ee2f4b09
commit
11b7c4e4e8
@ -47,12 +47,14 @@ class Tx(Src):
|
||||
self.block = block
|
||||
|
||||
|
||||
@property
|
||||
def status(self):
|
||||
if self.result == None:
|
||||
return None
|
||||
return self.result.status
|
||||
|
||||
|
||||
|
||||
@property
|
||||
def status_name(self):
|
||||
if self.result == None:
|
||||
return None
|
||||
|
Loading…
Reference in New Issue
Block a user