mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-29 15:09:49 +00:00
Make fields of EraRewardPoints public (#11422)
This commit is contained in:
1 parent
dd854c16e2
commit
ba1f31d040
1 file changed
+2
-2
@@ -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> {
|
||||
|
||||
Reference in new issue
Block a user