From 826846f154a7ea747ed4a845e14308f53c0a484f Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sat, 6 Apr 2019 12:44:43 +0300 Subject: [PATCH] Review suggestions --- qa/rpc-tests/__init__.py | 0 qa/rpc-tests/mempool_spendcoinbase.py | 2 +- qa/rpc-tests/prioritise_transaction.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 qa/rpc-tests/__init__.py diff --git a/qa/rpc-tests/__init__.py b/qa/rpc-tests/__init__.py deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/qa/rpc-tests/mempool_spendcoinbase.py b/qa/rpc-tests/mempool_spendcoinbase.py index 08ca626e71..1dbf8ae258 100755 --- a/qa/rpc-tests/mempool_spendcoinbase.py +++ b/qa/rpc-tests/mempool_spendcoinbase.py @@ -45,7 +45,7 @@ class MempoolSpendCoinbaseTest(BitcoinTestFramework): spend_101_id = self.nodes[0].sendrawtransaction(spends_raw[0]) # coinbase at height 102 should be too immature to spend - assert_raises_jsonrpc(-26,"bad-txns-premature-spend-of-coinbase", self.nodes[0].sendrawtransaction, spends_raw[1], False, False, True) + assert_raises_jsonrpc(-26,"bad-txns-premature-spend-of-coinbase", self.nodes[0].sendrawtransaction, spends_raw[1]) # mempool should have just spend_101: assert_equal(self.nodes[0].getrawmempool(), [ spend_101_id ]) diff --git a/qa/rpc-tests/prioritise_transaction.py b/qa/rpc-tests/prioritise_transaction.py index 85d43a713c..0da13e5ebd 100755 --- a/qa/rpc-tests/prioritise_transaction.py +++ b/qa/rpc-tests/prioritise_transaction.py @@ -110,7 +110,7 @@ class PrioritiseTransactionTest(BitcoinTestFramework): tx_id = self.nodes[0].decoderawtransaction(tx_hex)["txid"] # This will raise an exception due to min relay fee not being met - assert_raises_jsonrpc(-26, "66: min relay fee not met", self.nodes[0].sendrawtransaction, tx2_hex) + assert_raises_jsonrpc(-26, "66: min relay fee not met", self.nodes[0].sendrawtransaction, tx_hex) assert(tx_id not in self.nodes[0].getrawmempool()) # This is a less than 1000-byte transaction, so just set the fee