Skip to content

Commit 97f9a6e

Browse files
committed
Format
1 parent 14102b6 commit 97f9a6e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pallets/subtensor/src/coinbase/run_coinbase.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ impl<T: Config> Pallet<T> {
203203
I64F64::from_num(Self::get_childkey_take(hotkey, netuid))
204204
.saturating_div(I64F64::from_num(u16::MAX));
205205
let mut total_childkey_take: u64 = 0;
206-
206+
207207
// --- 2. Track the remaining emission for accounting purposes.
208208
let mut remaining_emission: u64 = validating_emission;
209209

@@ -238,7 +238,7 @@ impl<T: Config> Pallet<T> {
238238

239239
// --- 4.4 Compute the remaining parent emission after the childkey's share is deducted.
240240
let parent_emission_take: u64 = parent_emission.saturating_sub(child_emission_take);
241-
241+
242242
// --- 4.5. Accumulate emissions for the parent hotkey.
243243
PendingdHotkeyEmission::<T>::mutate(parent, |parent_accumulated| {
244244
*parent_accumulated = parent_accumulated.saturating_add(parent_emission_take)
@@ -306,7 +306,7 @@ impl<T: Config> Pallet<T> {
306306
.saturating_div(I64F64::from_num(u16::MAX));
307307
let hotkey_take: u64 = (take_proportion
308308
.saturating_mul(I64F64::from_num(emission_to_distribute)))
309-
.to_num::<u64>();
309+
.to_num::<u64>();
310310

311311
// --- 5 Compute the remaining emission after deducting the hotkey's take and untouchable_emission.
312312
let emission_minus_take: u64 = emission_to_distribute.saturating_sub(hotkey_take);

0 commit comments

Comments
 (0)