Skip to content

Commit 47c48b5

Browse files
committed
test: only use verbose for getrawmempool when necessary in functional tests
1 parent 7734971 commit 47c48b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/mempool_package_onemore.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def run_test(self):
5151
(second_chain, second_chain_value) = chain_transaction(self.nodes[0], [utxo[1]['txid']], [utxo[1]['vout']], utxo[1]['amount'], fee, 1)
5252

5353
# Check mempool has MAX_ANCESTORS + 1 transactions in it
54-
assert_equal(len(self.nodes[0].getrawmempool(True)), MAX_ANCESTORS + 1)
54+
assert_equal(len(self.nodes[0].getrawmempool()), MAX_ANCESTORS + 1)
5555

5656
# Adding one more transaction on to the chain should fail.
5757
assert_raises_rpc_error(-26, "too-long-mempool-chain, too many unconfirmed ancestors [limit: 25]", chain_transaction, self.nodes[0], [txid], [0], value, fee, 1)
@@ -74,7 +74,7 @@ def run_test(self):
7474
self.nodes[0].sendrawtransaction(signed_second_tx['hex'])
7575

7676
# Finally, check that we added two transactions
77-
assert_equal(len(self.nodes[0].getrawmempool(True)), MAX_ANCESTORS + 3)
77+
assert_equal(len(self.nodes[0].getrawmempool()), MAX_ANCESTORS + 3)
7878

7979
if __name__ == '__main__':
8080
MempoolPackagesTest().main()

0 commit comments

Comments
 (0)