Add vote account address to vote subscription

This commit is contained in:
Michael Vines
2022-01-26 22:03:03 -08:00
parent 9d477d45c7
commit 331b953551
4 changed files with 10 additions and 7 deletions

View File

@ -290,6 +290,8 @@ pub struct RpcIdentity {
#[derive(Serialize, Deserialize, Clone, Debug)]
#[serde(rename_all = "camelCase")]
pub struct RpcVote {
/// Vote account address, as base-58 encoded string
pub vote_pubkey: String,
pub slots: Vec<Slot>,
pub hash: String,
pub timestamp: Option<UnixTimestamp>,