diff options
author | Roy Shao <ycshao0402@gmail.com> | 2020-06-09 16:41:08 -0400 |
---|---|---|
committer | Roy Shao <ycshao0402@gmail.com> | 2020-06-18 13:32:36 -0400 |
commit | cc84460c164bcb2a874d4f08b3a2624e5ee9ff0a (patch) | |
tree | 1d0dc6761d311af87a244334f832ec800012d30b /test/functional/rpc_getblockfilter.py | |
parent | 9ad6f14175c19b5d47267c3dd5840c14bad43c83 (diff) | |
download | bitcoin-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-x | test/functional/rpc_getblockfilter.py | 4 |
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)] |