1
0

transaction: fix regression: witness_utxo was not included in QR code

fixes #6600
This commit is contained in:
SomberNight
2020-09-23 15:11:53 +02:00
parent c4c22312c4
commit 364fca6a58
2 changed files with 48 additions and 27 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1422,8 +1422,8 @@ class PartialTxInput(TxInput, PSBTSection):
def convert_utxo_to_witness_utxo(self) -> None:
if self.utxo:
self.witness_utxo = self.utxo.outputs()[self.prevout.out_idx]
self.utxo = None # type: Optional[Transaction]
self._witness_utxo = self.utxo.outputs()[self.prevout.out_idx]
self._utxo = None # type: Optional[Transaction]
def is_native_segwit(self) -> Optional[bool]:
"""Whether this input is native segwit. None means inconclusive."""