Skip to content

Commit 8ef68e3

Browse files
committed
burn until new codebase
1 parent 9b1fcd9 commit 8ef68e3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

api/src/endpoints/scoring.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,14 @@ async def weights() -> Dict[str, float]:
8686

8787
weights["5EsNzkZ3DwDqCsYmSJDeGXX51dQJd5broUCH6dbDjvkTcicD"] = 1.0
8888

89+
return weights
90+
8991
treasury_hotkey = await get_treasury_hotkey()
9092

9193
top_agent = await get_top_agent()
9294
weights[top_agent.miner_hotkey] = 1.0
9395

94-
return weights
96+
9597
# Disburse to treasury to manually send to whoever should be top agent in the event of an error
9698
if top_agent is None:
9799
weights[treasury_hotkey] = 1.0

0 commit comments

Comments
 (0)