File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
pallets/subtensor/src/coinbase Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -77,10 +77,10 @@ impl<T: Config> Pallet<T> {
7777 log:: debug!( "default_alpha_in_i: {default_alpha_in_i:?}" ) ;
7878
7979 // Get alpha_emission total
80- let alpha_emission_i: U96F32 = asfloat ! ( Self :: get_block_emission_for_issuance (
81- Self :: get_alpha_issuance( * netuid_i) . into( )
82- )
83- . unwrap_or ( 0 ) ) ;
80+ let alpha_emission_i: U96F32 = asfloat ! (
81+ Self :: get_block_emission_for_issuance ( Self :: get_alpha_issuance( * netuid_i) . into( ) )
82+ . unwrap_or ( 0 )
83+ ) ;
8484 log:: debug!( "alpha_emission_i: {alpha_emission_i:?}" ) ;
8585
8686 let mut alpha_in_i: U96F32 ;
@@ -225,7 +225,7 @@ impl<T: Config> Pallet<T> {
225225 let root_alpha: U96F32 = root_proportion
226226 . saturating_mul ( alpha_out_i) // Total alpha emission per block remaining.
227227 . saturating_mul ( asfloat ! ( 0.5 ) ) ; // 50% to validators.
228- // Remove root alpha from alpha_out.
228+ // Remove root alpha from alpha_out.
229229 log:: debug!( "root_alpha: {root_alpha:?}" ) ;
230230 // Get pending alpha as original alpha_out - root_alpha.
231231 let pending_alpha: U96F32 = alpha_out_i. saturating_sub ( root_alpha) ;
You can’t perform that action at this time.
0 commit comments