aboutsummaryrefslogtreecommitdiff
path: root/test/functional/p2p_invalid_locator.py
diff options
context:
space:
mode:
authorsanket1729 <smk7@illinois.edu>2018-09-15 04:32:12 -0500
committersanket1729 <smk7@illinois.edu>2018-09-17 08:25:10 -0500
commit0ca4c8b3c61984e9e2ab5a2a9a7c47faf139d1fc (patch)
treef61c3d6d645e2c7d11a7ffff230314068315532f /test/functional/p2p_invalid_locator.py
parent3832c25f176753b7ddb724c26ee7543fb1e1819e (diff)
downloadbitcoin-0ca4c8b3c61984e9e2ab5a2a9a7c47faf139d1fc.tar.xz
Changed functional tests which do not require wallets to run without
skipping .Addreses #14216. Changed get_deterministic_priv_key() to a named tuple
Diffstat (limited to 'test/functional/p2p_invalid_locator.py')
-rwxr-xr-xtest/functional/p2p_invalid_locator.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/functional/p2p_invalid_locator.py b/test/functional/p2p_invalid_locator.py
index 4cc43a4fa4..c8c752d1f7 100755
--- a/test/functional/p2p_invalid_locator.py
+++ b/test/functional/p2p_invalid_locator.py
@@ -15,12 +15,9 @@ class InvalidLocatorTest(BitcoinTestFramework):
self.num_nodes = 1
self.setup_clean_chain = False
- def skip_test_if_missing_module(self):
- self.skip_if_no_wallet()
-
def run_test(self):
node = self.nodes[0] # convenience reference to the node
- node.generate(1) # Get node out of IBD
+ node.generatetoaddress(1, node.get_deterministic_priv_key().address) # Get node out of IBD
self.log.info('Test max locator size')
block_count = node.getblockcount()