Skip to content

Commit

Permalink
Fix incorrect data attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Cryp Toon committed Mar 18, 2024
1 parent 63d8bcf commit 62200d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ def test_script_verify_transaction_input_p2wsh(self):
self.assertEqual(str(s), "signature signature OP_2 key key key OP_3 OP_CHECKMULTISIG OP_SHA256 data-32 OP_EQUAL")
transaction_hash = bytes.fromhex('43f0f6dfb58acc8ed05f5afc224c2f6c50523230bfcba5e5fd91d345e8a159ab')
data = {'redeemscript': redeemscript}
self.assertTrue(s.evaluate(message=transaction_hash, data=data))
self.assertTrue(s.evaluate(message=transaction_hash, env_data=data))

def test_script_verify_transaction_input_p2pk(self):
pass
Expand Down

0 comments on commit 62200d6

Please sign in to comment.