Spaces:
Sleeping
Sleeping
update version
Browse files- app_trans_new.py +1 -1
app_trans_new.py
CHANGED
|
@@ -58,7 +58,7 @@ def fetch_service_safes(web3, registry_contract):
|
|
| 58 |
agent_ids = service[-1] # Assuming the last element is the list of agent IDs
|
| 59 |
print(f"Agent IDs: {agent_ids}")
|
| 60 |
|
| 61 |
-
if
|
| 62 |
agent_address = registry_contract.functions.getAgentInstances(service_id).call()
|
| 63 |
service_safe = service[1]
|
| 64 |
print(f"Found agent_address: {agent_address}")
|
|
|
|
| 58 |
agent_ids = service[-1] # Assuming the last element is the list of agent IDs
|
| 59 |
print(f"Agent IDs: {agent_ids}")
|
| 60 |
|
| 61 |
+
if 40 in agent_ids:
|
| 62 |
agent_address = registry_contract.functions.getAgentInstances(service_id).call()
|
| 63 |
service_safe = service[1]
|
| 64 |
print(f"Found agent_address: {agent_address}")
|