Add vote account address to vote subscription
(cherry picked from commit 331b953551
)
# Conflicts:
# core/src/cluster_info_vote_listener.rs
# rpc/src/rpc_pubsub.rs
# rpc/src/rpc_subscriptions.rs
This commit is contained in:
@ -684,7 +684,7 @@ impl ClusterInfoVoteListener {
|
||||
}
|
||||
|
||||
if is_new_vote {
|
||||
subscriptions.notify_vote(&vote);
|
||||
subscriptions.notify_vote(*vote_pubkey, &vote);
|
||||
let _ = verified_vote_sender.send((*vote_pubkey, vote.slots));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user