aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_getblockfilter.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/rpc_getblockfilter.py
parent9ad6f14175c19b5d47267c3dd5840c14bad43c83 (diff)
downloadbitcoin-cc84460c164bcb2a874d4f08b3a2624e5ee9ff0a.tar.xz
test: move sync_blocks and sync_mempool functions to test_framework.py
Diffstat (limited to 'test/functional/rpc_getblockfilter.py')
-rwxr-xr-xtest/functional/rpc_getblockfilter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/rpc_getblockfilter.py b/test/functional/rpc_getblockfilter.py
index bd93b6f7a4..8fa36445cd 100755
--- a/test/functional/rpc_getblockfilter.py
+++ b/test/functional/rpc_getblockfilter.py
@@ -7,7 +7,7 @@
from test_framework.test_framework import BitcoinTestFramework
from test_framework.util import (
assert_equal, assert_is_hex_string, assert_raises_rpc_error,
- connect_nodes, disconnect_nodes, sync_blocks
+ connect_nodes, disconnect_nodes
)
FILTER_TYPES = ["basic"]
@@ -30,7 +30,7 @@ class GetBlockFilterTest(BitcoinTestFramework):
# Reorg node 0 to a new chain
connect_nodes(self.nodes[0], 1)
- sync_blocks(self.nodes)
+ self.sync_blocks()
assert_equal(self.nodes[0].getblockcount(), 4)
chain1_hashes = [self.nodes[0].getblockhash(block_height) for block_height in range(4)]