aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_preciousblock.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-03-07 21:21:57 -0500
committerMarcoFalke <falke.marco@gmail.com>2018-03-12 20:32:04 -0400
commitfa1436c42958688bcc48418f5b434a80a53fd5ac (patch)
treecf92f14faa2a2cc2cad39c42dcb2f3af954f9a66 /test/functional/rpc_preciousblock.py
parentdcfe218626b05204e9fbc95ba5d95ca0eb72ec9b (diff)
downloadbitcoin-fa1436c42958688bcc48418f5b434a80a53fd5ac.tar.xz
[qa] util: Remove unused sync_chain
Diffstat (limited to 'test/functional/rpc_preciousblock.py')
-rwxr-xr-xtest/functional/rpc_preciousblock.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/functional/rpc_preciousblock.py b/test/functional/rpc_preciousblock.py
index 960cd0ad12..796a2edbef 100755
--- a/test/functional/rpc_preciousblock.py
+++ b/test/functional/rpc_preciousblock.py
@@ -8,7 +8,6 @@ from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import (
assert_equal,
connect_nodes_bi,
- sync_chain,
sync_blocks,
)
@@ -72,7 +71,7 @@ class PreciousTest(BitcoinTestFramework):
assert_equal(self.nodes[0].getbestblockhash(), hashC)
self.log.info("Make Node1 prefer block C")
self.nodes[1].preciousblock(hashC)
- sync_chain(self.nodes[0:2]) # wait because node 1 may not have downloaded hashC
+ sync_blocks(self.nodes[0:2]) # wait because node 1 may not have downloaded hashC
assert_equal(self.nodes[1].getbestblockhash(), hashC)
self.log.info("Make Node1 prefer block G again")
self.nodes[1].preciousblock(hashG)