Skip to content

Commit 1d2ef76

Browse files
committed
fix: fix bugs func return params
1 parent a47cdcc commit 1d2ef76

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

neurons/validators/genie_validator.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,8 @@ async def forward(self):
314314
# set_seed(seed)
315315

316316
try:
317-
task, synapse = await self.synthensize_task(session, task_number)
317+
await self.synthensize_task(session, task_number)
318+
task, synapse = self.synthetic_tasks[-1]
318319
task.task_id = f"{session}_{task_number}"
319320
synapse.task_id = task.task_id
320321
except Exception as e:

0 commit comments

Comments
 (0)