Skip to content

Commit

Permalink
fix priority
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnReedV committed Jun 13, 2024
1 parent 201c15e commit 7113573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/subtensor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2221,7 +2221,7 @@ where
}
Some(Call::set_root_weights { netuid, hotkey, .. }) => {
if Self::check_weights_min_stake(hotkey) {
let priority: u64 = Self::get_priority_set_weights(who, *netuid);
let priority: u64 = Self::get_priority_set_weights(hotkey, *netuid);
Ok(ValidTransaction {
priority,
longevity: 1,
Expand Down

0 comments on commit 7113573

Please sign in to comment.