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
6 changes: 3 additions & 3 deletions psbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -743,9 +743,9 @@ def __init__(self, serialized_psbt):
# More than one partial sig should not be found without a redeemScript or
# witnessScript. Must be missing a script
continue
sec = k[1:]
sig = i[k]
found_sec = True
sec = k[1:]
sig = i[k]
found_sec = True
# Take the SEC and sig and construct the scriptSig
# Add key-type PSBT_IN_FINAL_SCRIPTSIG to PSBT with the finalized scriptSig as its value
i[PSBT_IN_FINAL_SCRIPTSIG] = Script([sig, sec]).serialize()
Expand Down