mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Remove unnecessary and forever-blocking wait_to_sync calls
This commit is contained in:
parent
c77c4330c7
commit
a05d163036
@ -74,7 +74,6 @@ class BIP9SoftForksTest(ComparisonTestFramework):
|
||||
return info['bip9_softforks'][key]
|
||||
|
||||
def test_BIP(self, bipName, activated_version, invalidate, invalidatePostSignature, bitno):
|
||||
wait_to_sync(self.nodes[0])
|
||||
assert_equal(self.get_bip9_status(bipName)['status'], 'defined')
|
||||
assert_equal(self.get_bip9_status(bipName)['since'], 0)
|
||||
# generate some coins for later
|
||||
|
@ -30,7 +30,6 @@ class GetBlockTemplateLPTest(BitcoinTestFramework):
|
||||
|
||||
def run_test(self):
|
||||
self.log.info("Warning: this test will take about 70 seconds in the best case. Be patient.")
|
||||
wait_to_sync(self.nodes[0])
|
||||
self.nodes[0].generate(10)
|
||||
templat = self.nodes[0].getblocktemplate()
|
||||
longpollid = templat['longpollid']
|
||||
|
@ -75,7 +75,6 @@ class GetBlockTemplateProposalTest(BitcoinTestFramework):
|
||||
|
||||
def run_test(self):
|
||||
node = self.nodes[0]
|
||||
wait_to_sync(node)
|
||||
node.generate(1) # Mine a block to leave initial block download
|
||||
tmpl = node.getblocktemplate()
|
||||
if 'coinbasetxn' not in tmpl:
|
||||
|
Loading…
Reference in New Issue
Block a user