Skip to content
Snippets Groups Projects
Commit ba1f31d0 authored by kostekIV's avatar kostekIV Committed by GitHub
Browse files

Make fields of `EraRewardPoints` public (#11422)

parent dd854c16
No related merge requests found
......@@ -369,9 +369,9 @@ pub struct ActiveEraInfo {
#[derive(PartialEq, Encode, Decode, RuntimeDebug, TypeInfo)]
pub struct EraRewardPoints<AccountId: Ord> {
/// Total number of points. Equals the sum of reward points for each validator.
total: RewardPoint,
pub total: RewardPoint,
/// The reward points earned by a given validator.
individual: BTreeMap<AccountId, RewardPoint>,
pub individual: BTreeMap<AccountId, RewardPoint>,
}
impl<AccountId: Ord> Default for EraRewardPoints<AccountId> {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment