fix: unresolved variable _bytes in transaction.parse_redeemScript()
This commit is contained in:
parent
031b911dce
commit
902ec2dc69
|
@ -363,7 +363,7 @@ def parse_redeemScript(s):
|
|||
op_n = opcodes.OP_1 + n - 1
|
||||
match_multisig = [ op_m ] + [opcodes.OP_PUSHDATA4]*n + [ op_n, opcodes.OP_CHECKMULTISIG ]
|
||||
if not match_decoded(dec2, match_multisig):
|
||||
print_error("cannot find address in input script", bh2u(_bytes))
|
||||
print_error("cannot find address in input script", bh2u(s))
|
||||
return
|
||||
x_pubkeys = [bh2u(x[1]) for x in dec2[1:-2]]
|
||||
pubkeys = [safe_parse_pubkey(x) for x in x_pubkeys]
|
||||
|
|
Loading…
Reference in New Issue