Skip to content

Commit c5d713b

Browse files
committed
address PR comments
1 parent 57b22f1 commit c5d713b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/primitives/src/capacity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub trait Replenishable {
6262
#[derive(
6363
Copy, Clone, Default, Encode, Eq, Decode, RuntimeDebug, MaxEncodedLen, PartialEq, TypeInfo,
6464
)]
65-
#[scale_info(skip_type_params(T))]
65+
6666
pub struct UnclaimedRewardInfo<Balance, BlockNumber> {
6767
/// The Reward Era for which this reward was earned
6868
pub reward_era: RewardEra,

pallets/capacity/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ impl<T: Config> Pallet<T> {
10561056
1usize => {
10571057
// if there is just one era entry and:
10581058
// it's for the previous era, it means we've already paid out rewards for that era, or they just staked in the last era.
1059-
// of if it's for the current era, they only just started staking.
1059+
// or if it's for the current era, they only just started staking.
10601060
provider_boost_history
10611061
.get_entry_for_era(&current_era.saturating_sub(1u32.into()))
10621062
.is_none() && provider_boost_history

0 commit comments

Comments
 (0)