Skip to content

Commit cdf1157

Browse files
committed
Merge pull request vbuterin#117 from prasos/quote_fix
Fix syntax error
2 parents da3fd12 + 03a6c96 commit cdf1157

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoin/transaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def signature_form(tx, i, script, hashcode=SIGHASH_ALL):
138138
newtx["outs"] = []
139139
elif hashcode == SIGHASH_SINGLE:
140140
newtx["outs"] = newtx["outs"][:len(newtx["ins"])]
141-
for out in newtx["outs'][:len(newtx["ins"]) - 1)]:
141+
for out in newtx["outs"][:len(newtx["ins"]) - 1]:
142142
out['value'] = 2**64 - 1
143143
out['script'] = ""
144144
elif hashcode == SIGHASH_ANYONECANPAY:

0 commit comments

Comments
 (0)