aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_balance.py
diff options
context:
space:
mode:
authorRoy Shao <ycshao0402@gmail.com>2020-06-09 16:41:08 -0400
committerRoy Shao <ycshao0402@gmail.com>2020-06-18 13:32:36 -0400
commitcc84460c164bcb2a874d4f08b3a2624e5ee9ff0a (patch)
tree1d0dc6761d311af87a244334f832ec800012d30b /test/functional/wallet_balance.py
parent9ad6f14175c19b5d47267c3dd5840c14bad43c83 (diff)
test: move sync_blocks and sync_mempool functions to test_framework.py
Diffstat (limited to 'test/functional/wallet_balance.py')
-rwxr-xr-xtest/functional/wallet_balance.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/wallet_balance.py b/test/functional/wallet_balance.py
index 8efa66a856..31829a18b3 100755
--- a/test/functional/wallet_balance.py
+++ b/test/functional/wallet_balance.py
@@ -12,7 +12,6 @@ from test_framework.util import (
assert_equal,
assert_raises_rpc_error,
connect_nodes,
- sync_blocks,
)
@@ -264,7 +263,7 @@ class WalletTest(BitcoinTestFramework):
# Now confirm tx_orig
self.restart_node(1, ['-persistmempool=0'])
connect_nodes(self.nodes[0], 1)
- sync_blocks(self.nodes)
+ self.sync_blocks()
self.nodes[1].sendrawtransaction(tx_orig)
self.nodes[1].generatetoaddress(1, ADDRESS_WATCHONLY)
self.sync_all()