You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[refactor] clarify tests by referencing p2p objects directly
Use object returned from add_p2p_connection to refer to
p2ps. Add a test class attribute if it needs to be used across
many methods. Don't use the p2p property.
self.log.info("Test that invalid-according-to-cltv transactions cannot appear in a block")
119
119
block.nVersion=4
@@ -136,9 +136,9 @@ def run_test(self):
136
136
block.solve()
137
137
138
138
withself.nodes[0].assert_debug_log(expected_msgs=['CheckInputScripts on {} failed with non-mandatory-script-verify-flag (Negative locktime)'.format(block.vtx[-1].hash)]):
self.log.info("Test that transactions with non-DER signatures cannot appear in a block")
105
105
block.nVersion=3
@@ -123,9 +123,9 @@ def run_test(self):
123
123
block.solve()
124
124
125
125
withself.nodes[0].assert_debug_log(expected_msgs=['CheckInputScripts on {} failed with non-mandatory-script-verify-flag (Non-canonical DER signature)'.format(block.vtx[-1].hash)]):
0 commit comments