Make status methods properties

This commit is contained in:
lash 2022-05-09 19:21:05 +00:00
parent 23ee2f4b09
commit 11b7c4e4e8
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -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