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

automerge
This commit is contained in:
Michael Vines
2019-12-13 00:49:16 -07:00
committed by Grimes
parent b7d6ff6770
commit 48f9b2fdcc
6 changed files with 71 additions and 4 deletions

View File

@@ -103,11 +103,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(),