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 a559691 commit 7735129Copy full SHA for 7735129
pallets/subtensor/src/subnets/weights.rs
@@ -264,7 +264,7 @@ impl<T: Config> Pallet<T> {
264
let cur_block = Self::get_current_block_as_u64();
265
let cur_epoch = match Self::should_run_epoch(netuid, commit_block) {
266
true => Self::get_epoch_index(netuid, cur_block).saturating_add(1),
267
- false => Self::get_epoch_index(netuid, cur_block)
+ false => Self::get_epoch_index(netuid, cur_block),
268
};
269
270
CRV3WeightCommits::<T>::try_mutate(netuid, cur_epoch, |commits| -> DispatchResult {
0 commit comments