Skip to content

Commit d861040

Browse files
committed
test: remove no longer needed (ASCII art) comments
1 parent 14398b3 commit d861040

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

test/functional/rpc_rawtransaction.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def items(self):
4949
return self.x
5050

5151

52-
# Create one-input, one-output, no-fee transaction:
5352
class RawTransactionsTest(BitcoinTestFramework):
5453
def set_test_params(self):
5554
self.setup_clean_chain = True
@@ -217,10 +216,6 @@ def run_test(self):
217216
}
218217
])
219218

220-
#########################################
221-
# sendrawtransaction with missing input #
222-
#########################################
223-
224219
self.log.info("Test sendrawtransaction with missing input")
225220
inputs = [{'txid' : TXID, 'vout' : 1}] # won't exist
226221
outputs = { self.nodes[0].getnewaddress() : 4.998 }
@@ -230,10 +225,6 @@ def run_test(self):
230225
# This will raise an exception since there are missing inputs
231226
assert_raises_rpc_error(-25, "bad-txns-inputs-missingorspent", self.nodes[2].sendrawtransaction, rawtx['hex'])
232227

233-
#####################################
234-
# getrawtransaction with block hash #
235-
#####################################
236-
237228
# Make a tx by sending, then generate 2 blocks; block1 has the tx in it
238229
tx = self.nodes[2].sendtoaddress(self.nodes[1].getnewaddress(), 1)
239230
block1, block2 = self.nodes[2].generate(2)
@@ -277,9 +268,6 @@ def run_test(self):
277268
self.log.info("Test raw multisig transactions (legacy)")
278269
# The traditional multisig workflow does not work with descriptor wallets so these are legacy only.
279270
# 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-
#########################
283271
# 2of2 test
284272
addr1 = self.nodes[2].getnewaddress()
285273
addr2 = self.nodes[2].getnewaddress()
@@ -452,10 +440,6 @@ def run_test(self):
452440
# 8. invalid parameters - supply txid and empty dict
453441
assert_raises_rpc_error(-1, "not a boolean", self.nodes[n].getrawtransaction, txId, {})
454442

455-
####################################
456-
# TRANSACTION VERSION NUMBER TESTS #
457-
####################################
458-
459443
self.log.info("Test transaction version numbers")
460444

461445
# Test the minimum transaction version number that fits in a signed 32-bit integer.

0 commit comments

Comments
 (0)