Skip to content

Commit 85eb7ef

Browse files
authored
Merge pull request #2051 from 0xcacti/emissions-fix
Emissions fix
2 parents 9927560 + 12dcb91 commit 85eb7ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/subtensor/src/coinbase/run_coinbase.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl<T: Config> Pallet<T> {
8585
);
8686
if price_i < tao_in_ratio {
8787
tao_in_i = price_i.saturating_mul(U96F32::saturating_from_num(block_emission));
88-
alpha_in_i = alpha_emission_i;
88+
alpha_in_i = block_emission;
8989
let difference_tao: U96F32 = default_tao_in_i.saturating_sub(tao_in_i);
9090
// Difference becomes buy.
9191
let buy_swap_result = Self::swap_tao_for_alpha(

0 commit comments

Comments
 (0)