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 58c1f51 commit 3412916Copy full SHA for 3412916
pallets/subtensor/src/coinbase/run_coinbase.rs
@@ -47,7 +47,7 @@ impl<T: Config> Pallet<T> {
47
48
// --- 3. Drain the subnet block emission and accumulate it as subnet emission, which increases until the tempo is reached in #4.
49
// subnet_blockwise_emission -> subnet_pending_emission
50
- for netuid in subnets.clone().iter() {
+ for netuid in subnets.clone().iter().filter(|&&id| id != 0) {
51
// --- 3.1 Get the network's block-wise emission amount.
52
// This value is newly minted TAO which has not reached staking accounts yet.
53
let subnet_blockwise_emission: u64 = EmissionValues::<T>::get(*netuid);
0 commit comments