Skip to content

Commit

Permalink
Fix btg_timelock test lint
Browse files Browse the repository at this point in the history
  • Loading branch information
h4x3rotab committed Aug 20, 2019
1 parent 4dbe037 commit ae76917
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/functional/feature_btg_timelock.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 49,6 @@ def skip_test_if_missing_module(self):

def sign_tx(self, tx, spend_tx, spend_n, redeem_script, in_n, keys):
"""Sign a P2SH transaction by privkeys."""
vout = spend_tx.vout[spend_n]
sighash, _ = SignatureHash(redeem_script, tx, in_n, SIGHASH_ALL)
sigs = [key.sign(sighash) bytes(bytearray([SIGHASH_ALL])) for key in keys]
tx.vin[0].scriptSig = CScript([OP_0] sigs [redeem_script])
Expand Down

0 comments on commit ae76917

Please sign in to comment.