fix #5513
This commit is contained in:
@@ -624,12 +624,12 @@ class Transaction:
|
|||||||
def inputs(self):
|
def inputs(self):
|
||||||
if self._inputs is None:
|
if self._inputs is None:
|
||||||
self.deserialize()
|
self.deserialize()
|
||||||
return self._inputs
|
return self._inputs or []
|
||||||
|
|
||||||
def outputs(self) -> List[TxOutput]:
|
def outputs(self) -> List[TxOutput]:
|
||||||
if self._outputs is None:
|
if self._outputs is None:
|
||||||
self.deserialize()
|
self.deserialize()
|
||||||
return self._outputs
|
return self._outputs or []
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def get_sorted_pubkeys(self, txin):
|
def get_sorted_pubkeys(self, txin):
|
||||||
|
|||||||
Reference in New Issue
Block a user