Spaces:
Running
Running
update app.py
Browse files
app.py
CHANGED
@@ -87,7 +87,7 @@ def fetch_and_aggregate_transactions():
|
|
87 |
agent_ids = service[-1] # Assuming the last element is the list of agent IDs
|
88 |
|
89 |
# Check if 25 is in the list of agent IDs
|
90 |
-
if
|
91 |
agent_address = service_registry.functions.getAgentInstances(service_id).call()[1][0]
|
92 |
response_transfers = get_transfers("valory", agent_address)
|
93 |
transfers = response_transfers.get("transfers", [])
|
|
|
87 |
agent_ids = service[-1] # Assuming the last element is the list of agent IDs
|
88 |
|
89 |
# Check if 25 is in the list of agent IDs
|
90 |
+
if 40 in agent_ids:
|
91 |
agent_address = service_registry.functions.getAgentInstances(service_id).call()[1][0]
|
92 |
response_transfers = get_transfers("valory", agent_address)
|
93 |
transfers = response_transfers.get("transfers", [])
|