Lint fix for _es_height checks.

This commit is contained in:
Jonathan Moody 2022-09-02 15:30:16 -05:00 committed by Lex Berezhny
parent 38e9b5b432
commit 988f288715

View file

@ -308,9 +308,9 @@ class IntegrationTestCase(AsyncioTestCase):
while True:
await self.conductor.spv_node.server.synchronized.wait()
self.conductor.spv_node.server.synchronized.clear()
if (self.conductor.spv_node.server.db.db_height < height):
if self.conductor.spv_node.server.db.db_height < height:
continue
if (self.conductor.spv_node.server._es_height < height):
if self.conductor.spv_node.server._es_height < height:
continue
break
@ -334,9 +334,9 @@ class IntegrationTestCase(AsyncioTestCase):
while True:
await self.conductor.spv_node.server.synchronized.wait()
self.conductor.spv_node.server.synchronized.clear()
if (self.conductor.spv_node.server.db.db_height < height):
if self.conductor.spv_node.server.db.db_height < height:
continue
if (self.conductor.spv_node.server._es_height < height):
if self.conductor.spv_node.server._es_height < height:
continue
break