Skip to content

Commit 00f0b69

Browse files
authored
Update bittensor/utils/weight_utils.py
1 parent 12323dc commit 00f0b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bittensor/utils/weight_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def convert_weights_and_uids_for_emit(
190190
f"Passed weights and uids must have the same length, got {len(uids)} and {len(weights)}"
191191
)
192192
if sum(weights) == 0:
193-
return [], [] # Nothing to set on a chain.
193+
return [], [] # Nothing to set on chain.
194194
else:
195195
max_weight = float(max(weights))
196196
weights = [

0 commit comments

Comments
 (0)