watchtower: Add Slack/Discord sanity failure notification (#7467)

automerge
This commit is contained in:
Michael Vines
2019-12-13 00:49:16 -07:00
parent 2ef7579b6c
commit 5a2a34b035
6 changed files with 81 additions and 14 deletions

View File

@@ -108,11 +108,12 @@ pub fn authorize(
}
pub fn update_node(
vote_pubkey: &Pubkey, // vote account
authorized_pubkey: &Pubkey, // currently authorized
vote_pubkey: &Pubkey,
authorized_voter_pubkey: &Pubkey,
node_pubkey: &Pubkey,
) -> Instruction {
let account_metas = vec![AccountMeta::new(*vote_pubkey, false)].with_signer(authorized_pubkey);
let account_metas =
vec![AccountMeta::new(*vote_pubkey, false)].with_signer(authorized_voter_pubkey);
Instruction::new(
id(),