diff --git a/torba/client/basetransaction.py b/torba/client/basetransaction.py index 3b7c9735d..3e80679e6 100644 --- a/torba/client/basetransaction.py +++ b/torba/client/basetransaction.py @@ -58,6 +58,10 @@ class TXORef: def id(self): return '{}:{}'.format(self.tx_ref.id, self.position) + @property + def hash(self): + return self.tx_ref.hash + BCDataStream.uint32.pack(self.position) + @property def is_null(self): return self.tx_ref.is_null