@@ -49,7 +49,6 @@ def items(self):
49
49
return self .x
50
50
51
51
52
- # Create one-input, one-output, no-fee transaction:
53
52
class RawTransactionsTest (BitcoinTestFramework ):
54
53
def set_test_params (self ):
55
54
self .setup_clean_chain = True
@@ -217,10 +216,6 @@ def run_test(self):
217
216
}
218
217
])
219
218
220
- #########################################
221
- # sendrawtransaction with missing input #
222
- #########################################
223
-
224
219
self .log .info ("Test sendrawtransaction with missing input" )
225
220
inputs = [{'txid' : TXID , 'vout' : 1 }] # won't exist
226
221
outputs = { self .nodes [0 ].getnewaddress () : 4.998 }
@@ -230,10 +225,6 @@ def run_test(self):
230
225
# This will raise an exception since there are missing inputs
231
226
assert_raises_rpc_error (- 25 , "bad-txns-inputs-missingorspent" , self .nodes [2 ].sendrawtransaction , rawtx ['hex' ])
232
227
233
- #####################################
234
- # getrawtransaction with block hash #
235
- #####################################
236
-
237
228
# Make a tx by sending, then generate 2 blocks; block1 has the tx in it
238
229
tx = self .nodes [2 ].sendtoaddress (self .nodes [1 ].getnewaddress (), 1 )
239
230
block1 , block2 = self .nodes [2 ].generate (2 )
@@ -277,9 +268,6 @@ def run_test(self):
277
268
self .log .info ("Test raw multisig transactions (legacy)" )
278
269
# The traditional multisig workflow does not work with descriptor wallets so these are legacy only.
279
270
# The multisig workflow with descriptor wallets uses PSBTs and is tested elsewhere, no need to do them here.
280
- #########################
281
- # RAW TX MULTISIG TESTS #
282
- #########################
283
271
# 2of2 test
284
272
addr1 = self .nodes [2 ].getnewaddress ()
285
273
addr2 = self .nodes [2 ].getnewaddress ()
@@ -452,10 +440,6 @@ def run_test(self):
452
440
# 8. invalid parameters - supply txid and empty dict
453
441
assert_raises_rpc_error (- 1 , "not a boolean" , self .nodes [n ].getrawtransaction , txId , {})
454
442
455
- ####################################
456
- # TRANSACTION VERSION NUMBER TESTS #
457
- ####################################
458
-
459
443
self .log .info ("Test transaction version numbers" )
460
444
461
445
# Test the minimum transaction version number that fits in a signed 32-bit integer.
0 commit comments