chainlib

Generic blockchain access library and tooling
Log | Files | Refs | README | LICENSE

commit 11b7c4e4e86be157cddbf7a1aa1b90c6775e4dfa
parent 23ee2f4b0971dbf2cdc662c467b4855d58bf6259
Author: lash <dev@holbrook.no>
Date:   Mon,  9 May 2022 19:21:05 +0000

Make status methods properties

Diffstat:
Mchainlib/tx.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/chainlib/tx.py b/chainlib/tx.py @@ -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