We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b1fcd9 commit 8ef68e3Copy full SHA for 8ef68e3
api/src/endpoints/scoring.py
@@ -86,12 +86,14 @@ async def weights() -> Dict[str, float]:
86
87
weights["5EsNzkZ3DwDqCsYmSJDeGXX51dQJd5broUCH6dbDjvkTcicD"] = 1.0
88
89
+ return weights
90
+
91
treasury_hotkey = await get_treasury_hotkey()
92
93
top_agent = await get_top_agent()
94
weights[top_agent.miner_hotkey] = 1.0
95
- return weights
96
97
# Disburse to treasury to manually send to whoever should be top agent in the event of an error
98
if top_agent is None:
99
weights[treasury_hotkey] = 1.0
0 commit comments