From d378fbd592e0e2946883b2e9f8c9fae5c30b7c60 Mon Sep 17 00:00:00 2001 From: kostekIV <27210860+kostekIV@users.noreply.github.com> Date: Thu, 19 May 2022 11:10:49 +0200 Subject: [PATCH] Make fields of `EraRewardPoints` public (#11422) --- frame/staking/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frame/staking/src/lib.rs b/frame/staking/src/lib.rs index f17d09b413606..331095774b741 100644 --- a/frame/staking/src/lib.rs +++ b/frame/staking/src/lib.rs @@ -369,9 +369,9 @@ pub struct ActiveEraInfo { #[derive(PartialEq, Encode, Decode, RuntimeDebug, TypeInfo)] pub struct EraRewardPoints { /// 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, + pub individual: BTreeMap, } impl Default for EraRewardPoints {