File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 12
12
assert_fee_amount ,
13
13
assert_raises_rpc_error ,
14
14
connect_nodes ,
15
- wait_until ,
16
15
)
17
16
from test_framework .wallet_util import test_address
18
17
@@ -540,7 +539,7 @@ def run_test(self):
540
539
self .start_node (2 , [m , "-limitancestorcount=" + str (chainlimit )])
541
540
if m == '-reindex' :
542
541
# reindex will leave rpc warm up "early"; Wait for it to finish
543
- wait_until (lambda : [block_count ] * 3 == [self .nodes [i ].getblockcount () for i in range (3 )])
542
+ self . wait_until (lambda : [block_count ] * 3 == [self .nodes [i ].getblockcount () for i in range (3 )])
544
543
assert_equal (balance_nodes , [self .nodes [i ].getbalance () for i in range (3 )])
545
544
546
545
# Exercise listsinceblock with the last two blocks
@@ -589,7 +588,7 @@ def run_test(self):
589
588
self .start_node (0 , extra_args = extra_args )
590
589
591
590
# wait until the wallet has submitted all transactions to the mempool
592
- wait_until (lambda : len (self .nodes [0 ].getrawmempool ()) == chainlimit * 2 )
591
+ self . wait_until (lambda : len (self .nodes [0 ].getrawmempool ()) == chainlimit * 2 )
593
592
594
593
node0_balance = self .nodes [0 ].getbalance ()
595
594
# With walletrejectlongchains we will not create the tx and store it in our wallet.
You can’t perform that action at this time.
0 commit comments