@@ -27,6 +27,7 @@ def successful_signing_test(self):
27
27
28
28
1) The transaction has a complete set of signatures
29
29
2) No script verification error occurred"""
30
+ self .log .info ("Test valid raw transaction with one input" )
30
31
privKeys = ['cUeKHd5orzT3mz8P9pxyREHfsWtVfgsfDjiZZBcjUBAaGk1BTj7N' , 'cVKpPfVKSJxKqVpE9awvXNWuLHCa5j5tiE7K6zbUSptFpTEtiFrA' ]
31
32
32
33
inputs = [
@@ -49,7 +50,7 @@ def successful_signing_test(self):
49
50
assert 'errors' not in rawTxSigned
50
51
51
52
def test_with_lock_outputs (self ):
52
- """ Test correct error reporting when trying to sign a locked output"""
53
+ self . log . info ( " Test correct error reporting when trying to sign a locked output")
53
54
self .nodes [0 ].encryptwallet ("password" )
54
55
55
56
rawTx = '020000000156b958f78e3f24e0b2f4e4db1255426b0902027cb37e3ddadb52e37c3557dddb0000000000ffffffff01c0a6b929010000001600149a2ee8c77140a053f36018ac8124a6ececc1668a00000000'
@@ -65,6 +66,7 @@ def script_verification_error_test(self):
65
66
4) Two script verification errors occurred
66
67
5) Script verification errors have certain properties ("txid", "vout", "scriptSig", "sequence", "error")
67
68
6) The verification errors refer to the invalid (vin 1) and missing input (vin 2)"""
69
+ self .log .info ("Test script verification errors" )
68
70
privKeys = ['cUeKHd5orzT3mz8P9pxyREHfsWtVfgsfDjiZZBcjUBAaGk1BTj7N' ]
69
71
70
72
inputs = [
@@ -147,7 +149,7 @@ def script_verification_error_test(self):
147
149
assert not rawTxSigned ['errors' ][0 ]['witness' ]
148
150
149
151
def witness_script_test (self ):
150
- # Now test signing transaction to P2SH-P2WSH addresses without wallet
152
+ self . log . info ( "Test signing transaction to P2SH-P2WSH addresses without wallet" )
151
153
# Create a new P2SH-P2WSH 1-of-1 multisig address:
152
154
embedded_address = self .nodes [1 ].getaddressinfo (self .nodes [1 ].getnewaddress ())
153
155
embedded_privkey = self .nodes [1 ].dumpprivkey (embedded_address ["address" ])
0 commit comments