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 12323dc commit 00f0b69Copy full SHA for 00f0b69
bittensor/utils/weight_utils.py
@@ -190,7 +190,7 @@ def convert_weights_and_uids_for_emit(
190
f"Passed weights and uids must have the same length, got {len(uids)} and {len(weights)}"
191
)
192
if sum(weights) == 0:
193
- return [], [] # Nothing to set on a chain.
+ return [], [] # Nothing to set on chain.
194
else:
195
max_weight = float(max(weights))
196
weights = [
0 commit comments