Skip to content

Commit

Permalink
Added some PR reviewer comment suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
shibshib committed Mar 11, 2024
1 parent 1ac9abc commit 70a3aab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pallets/subtensor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1666,7 +1666,6 @@ pub mod pallet {
if Uids::<T>::contains_key(netuid, &hotkey) {
let uid = Self::get_uid_for_net_and_hotkey(netuid, &hotkey.clone()).unwrap();
let stake = Self::get_total_stake_for_hotkey(&hotkey);
if stake <= 20_000_000_000_000_000 { return 0; } // Blacklist weights transactions for low stake peers.
let current_block_number: u64 = Self::get_current_block_as_u64();
let default_priority: u64 =
current_block_number - Self::get_last_update_for_uid(netuid, uid as u16);
Expand Down

0 comments on commit 70a3aab

Please sign in to comment.