Skip to content

Commit 81c8905

Browse files
committed
Format
1 parent 0b49118 commit 81c8905

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pallets/subtensor/src/coinbase/run_coinbase.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,7 @@ impl<T: Config> Pallet<T> {
232232
let child_emission_take: u64 = childkey_take_proportion
233233
.saturating_mul(parent_emission)
234234
.to_num::<u64>();
235-
total_childkey_take =
236-
total_childkey_take.saturating_add(child_emission_take);
235+
total_childkey_take = total_childkey_take.saturating_add(child_emission_take);
237236
// NOTE: Only the validation emission should be split amongst parents.
238237

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

0 commit comments

Comments
 (0)