mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-23 12:24:42 +02:00
Fix unit test to not depend on default values
This commit is contained in:
@@ -40,6 +40,10 @@ def check_array_result(object_array, to_match, expected):
|
||||
|
||||
class ListTransactionsTest(BitcoinTestFramework):
|
||||
|
||||
def setup_nodes(self):
|
||||
node_count=4
|
||||
return start_nodes(node_count, self.options.tmpdir, [["-mempoolreplacement=1"]] * node_count)
|
||||
|
||||
def run_test(self):
|
||||
# Simple send, 0 to 1:
|
||||
txid = self.nodes[0].sendtoaddress(self.nodes[1].getnewaddress(), 0.1)
|
||||
|
||||
Reference in New Issue
Block a user