mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Make fields of EraRewardPoints public (#11422)
This commit is contained in:
@@ -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