From 5d808a7ca153a545ca58dc071416e8e9006a1f01 Mon Sep 17 00:00:00 2001 From: derekpierre Date: Thu, 14 Dec 2023 08:20:01 -0500 Subject: [PATCH] Only sleep during block_until_ready when not (bonded and funded). --- nucypher/blockchain/eth/actors.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nucypher/blockchain/eth/actors.py b/nucypher/blockchain/eth/actors.py index a167a718a..12ce21ba1 100644 --- a/nucypher/blockchain/eth/actors.py +++ b/nucypher/blockchain/eth/actors.py @@ -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(