Skip to content

Commit

Permalink
fix script_sig with witnesses
Browse files Browse the repository at this point in the history
  • Loading branch information
Ouziel committed Dec 7, 2024
1 parent 828b5d8 commit 92b9d7b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions counterparty-core/counterpartycore/lib/gettxinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ def collect_sighash_flags(script_sig, witnesses):
flag = get_der_signature_sighash_flag(item)
if flag is not None:
flags.append(flag)

if len(witnesses) == 0:
return flags

witnesses = [
Expand Down

0 comments on commit 92b9d7b

Please sign in to comment.