Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing return
Browse files Browse the repository at this point in the history
MsRandom committed Dec 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 8183eba commit f54a3f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions validator/weight_setting/weight_setter.py
Original file line number Diff line number Diff line change
@@ -202,6 +202,8 @@ def _set_weights(self, weights: list[float]) -> bool:

if hyperparameters.commit_reveal_weights_enabled:
self._commit_reveal(weights, hyperparameters, block)

return True
else:
return set_node_weights(
substrate,

0 comments on commit f54a3f7

Please sign in to comment.