connector
This commit is contained in:
parent
d7971af08a
commit
37f8ad6e04
@ -277,7 +277,7 @@ class Connector:
|
|||||||
self.log.error("watchdog error %s " % err)
|
self.log.error("watchdog error %s " % err)
|
||||||
|
|
||||||
async def get_next_block(self):
|
async def get_next_block(self):
|
||||||
if self.active:
|
if self.active and self.active_block.done():
|
||||||
while True:
|
while True:
|
||||||
if not self.get_next_block_mutex.done():
|
if not self.get_next_block_mutex.done():
|
||||||
await self.get_next_block_mutex
|
await self.get_next_block_mutex
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user