Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hwilib/psbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,7 @@ def cache_unsigned_tx_pieces(self) -> None:
"""
# To make things easier, we split up the global transaction
# and use the PSBTv2 fields for PSBTv0
if self.tx is not None:
if self.version == 0:
self.setup_from_tx(self.tx)

def setup_from_tx(self, tx: CTransaction):
Expand Down
Loading