Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
gztensor committed Nov 13, 2024
1 parent 0b49118 commit 81c8905
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pallets/subtensor/src/coinbase/run_coinbase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,7 @@ impl<T: Config> Pallet<T> {
let child_emission_take: u64 = childkey_take_proportion
.saturating_mul(parent_emission)
.to_num::<u64>();
total_childkey_take =
total_childkey_take.saturating_add(child_emission_take);
total_childkey_take = total_childkey_take.saturating_add(child_emission_take);
// NOTE: Only the validation emission should be split amongst parents.

// --- 4.4 Compute the remaining parent emission after the childkey's share is deducted.
Expand Down

0 comments on commit 81c8905

Please sign in to comment.