aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2021-07-12 15:16:43 +0200
committerJon Atack <jon@atack.com>2021-08-31 21:55:15 +0200
commitd861040dd24a321e1ceec1f07c7bb80d59779081 (patch)
treea8a25656f9f4157df13ffb96e13627c7bd38d005 /test
parent14398b30d6242db14670b3286f988b2badda83fb (diff)
downloadbitcoin-d861040dd24a321e1ceec1f07c7bb80d59779081.tar.xz
test: remove no longer needed (ASCII art) comments
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/rpc_rawtransaction.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/functional/rpc_rawtransaction.py b/test/functional/rpc_rawtransaction.py
index 2aa80de90d..f354d4faaa 100755
--- a/test/functional/rpc_rawtransaction.py
+++ b/test/functional/rpc_rawtransaction.py
@@ -49,7 +49,6 @@ class multidict(dict):
return self.x
-# Create one-input, one-output, no-fee transaction:
class RawTransactionsTest(BitcoinTestFramework):
def set_test_params(self):
self.setup_clean_chain = True
@@ -217,10 +216,6 @@ class RawTransactionsTest(BitcoinTestFramework):
}
])
- #########################################
- # sendrawtransaction with missing input #
- #########################################
-
self.log.info("Test sendrawtransaction with missing input")
inputs = [{'txid' : TXID, 'vout' : 1}] # won't exist
outputs = { self.nodes[0].getnewaddress() : 4.998 }
@@ -230,10 +225,6 @@ class RawTransactionsTest(BitcoinTestFramework):
# This will raise an exception since there are missing inputs
assert_raises_rpc_error(-25, "bad-txns-inputs-missingorspent", self.nodes[2].sendrawtransaction, rawtx['hex'])
- #####################################
- # getrawtransaction with block hash #
- #####################################
-
# Make a tx by sending, then generate 2 blocks; block1 has the tx in it
tx = self.nodes[2].sendtoaddress(self.nodes[1].getnewaddress(), 1)
block1, block2 = self.nodes[2].generate(2)
@@ -277,9 +268,6 @@ class RawTransactionsTest(BitcoinTestFramework):
self.log.info("Test raw multisig transactions (legacy)")
# The traditional multisig workflow does not work with descriptor wallets so these are legacy only.
# The multisig workflow with descriptor wallets uses PSBTs and is tested elsewhere, no need to do them here.
- #########################
- # RAW TX MULTISIG TESTS #
- #########################
# 2of2 test
addr1 = self.nodes[2].getnewaddress()
addr2 = self.nodes[2].getnewaddress()
@@ -452,10 +440,6 @@ class RawTransactionsTest(BitcoinTestFramework):
# 8. invalid parameters - supply txid and empty dict
assert_raises_rpc_error(-1, "not a boolean", self.nodes[n].getrawtransaction, txId, {})
- ####################################
- # TRANSACTION VERSION NUMBER TESTS #
- ####################################
-
self.log.info("Test transaction version numbers")
# Test the minimum transaction version number that fits in a signed 32-bit integer.