Only sleep during block_until_ready when not (bonded and funded).

pull/3422/head
derekpierre 2023-12-14 08:20:01 -05:00 committed by Derek Pierre
parent c6899bb8c0
commit 5d808a7ca1
1 changed files with 2 additions and 1 deletions

View File

@ -797,7 +797,8 @@ class Operator(BaseActor):
color="yellow",
)
time.sleep(poll_rate)
if not (funded and bonded):
time.sleep(poll_rate)
coordinator_address = self.coordinator_agent.contract_address
emitter.message(