Skip to content

Commit

Permalink
Update GetRewardResult (#190)
Browse files Browse the repository at this point in the history
Signed-off-by: Jacek Malec <[email protected]>
  • Loading branch information
jacek-casper authored Aug 1, 2024
1 parent 5156a1d commit d22945c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/rpcs/v2_0_0/get_reward.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use casper_types::{EraId, ProtocolVersion, PublicKey, U512};
use casper_types::{BlockHash, EraId, ProtocolVersion, PublicKey, U512};
use serde::{Deserialize, Serialize};

use crate::rpcs::common::BlockIdentifier;
Expand Down Expand Up @@ -53,4 +53,6 @@ pub struct GetRewardResult {
pub era_id: EraId,
/// The delegation rate of the validator.
pub delegation_rate: u8,
/// The switch block hash at which the reward was distributed.
pub switch_block_hash: BlockHash,
}

0 comments on commit d22945c

Please sign in to comment.