aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_getchaintips.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-04-09 11:46:05 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-04-09 12:08:26 -0400
commitfafe008cb407cd3830b0ae25a4e9f4400ff66b6e (patch)
treee93eb5f9cc123b6aab096458fa2498cf9d4dc2f4 /test/functional/rpc_getchaintips.py
parentfa4680ed0996a7c621265a34392c3eca827b2e48 (diff)
downloadbitcoin-fafe008cb407cd3830b0ae25a4e9f4400ff66b6e.tar.xz
test: Pass at most one node group to sync_all
Diffstat (limited to 'test/functional/rpc_getchaintips.py')
-rwxr-xr-xtest/functional/rpc_getchaintips.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional/rpc_getchaintips.py b/test/functional/rpc_getchaintips.py
index c869c7262f..44466085f0 100755
--- a/test/functional/rpc_getchaintips.py
+++ b/test/functional/rpc_getchaintips.py
@@ -28,7 +28,8 @@ class GetChainTipsTest (BitcoinTestFramework):
self.split_network()
self.nodes[0].generatetoaddress(10, self.nodes[0].get_deterministic_priv_key().address)
self.nodes[2].generatetoaddress(20, self.nodes[2].get_deterministic_priv_key().address)
- self.sync_all([self.nodes[:2], self.nodes[2:]])
+ self.sync_all(self.nodes[:2])
+ self.sync_all(self.nodes[2:])
tips = self.nodes[1].getchaintips ()
assert_equal (len (tips), 1)