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 psbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def __init__(self, inputs, outputs, tx_version=2, input_sequence=0xffffffff, loc
# Construct a serialized psbt manually
new_psbt_serialized = MAGIC_BYTES + HEAD_SEPARATOR + psbt.serialize_map(key=PSBT_GLOBAL_UNSIGNED_TX, \
value=serialized_tx) + DATA_SEPARATOR + (DATA_SEPARATOR*len(self.tx_inputs)) + \
(DATA_SEPARATOR*len(self.tx_inputs))
(DATA_SEPARATOR*len(self.tx_outputs))
# Create the psbt object using the serialized psbt
self.psbt = psbt.parse(BytesIO(new_psbt_serialized))

Expand Down