fn this_session_reward(actual_elapsed: T::Moment) -> BalanceOf<T> {
		let ideal_elapsed = <session::Module<T>>::ideal_session_duration();
		if ideal_elapsed.is_zero() {
			return Self::current_session_reward();
		}
		let per65536: u64 = (T::Moment::sa(65536u64) * ideal_elapsed.clone() / actual_elapsed.max(ideal_elapsed)).as_();
		Self::current_session_reward() * <BalanceOf<T>>::sa(per65536) / <BalanceOf<T>>::sa(65536u64)
	}
/// Get the reward for the session, assuming it ends with this block.
Get the reward for the session, assuming it ends with this block.
Get the reward for the session assuming it ends with this block .
fn this_session_reward(actual_elapsed: T::Moment) -> BalanceOf<T> {
		let ideal_elapsed = <session::Module<T>>::ideal_session_duration();
		if ideal_elapsed.is_zero() {
			return Self::current_session_reward();
		}
		let per65536: u64 = (T::Moment::sa(65536u64) * ideal_elapsed.clone() / actual_elapsed.max(ideal_elapsed)).as_();
		Self::current_session_reward() * <BalanceOf<T>>::sa(per65536) / <BalanceOf<T>>::sa(65536u64)
	}
fn this_session_reward ( actual_elapsed : T :: Moment ) -> BalanceOf < T > { let ideal_elapsed = < session :: Module < T > > :: ideal_session_duration ( ) ; if ideal_elapsed . is_zero ( ) { return Self :: current_session_reward ( ) ; } let per65536 : u64 = ( T :: Moment :: sa ( 65536u64 ) * ideal_elapsed . clone ( ) / actual_elapsed . max ( ideal_elapsed ) ) . as_ ( ) ; Self :: current_session_reward ( ) * < BalanceOf < T > > :: sa ( per65536 ) / < BalanceOf < T > > :: sa ( 65536u64 ) }
Get the reward for the session, assuming it ends with this block.
Get the reward for the session assuming it ends with this block .
actual_elapsed
T::Moment
actual_elapsed
T::Moment