From a5f82c995eae89d0b053e84479c2a0a215f62114 Mon Sep 17 00:00:00 2001 From: anatoly yakovenko Date: Wed, 17 Jun 2020 13:53:45 -0700 Subject: [PATCH] ignore break (#10666) --- watchtower/src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/watchtower/src/main.rs b/watchtower/src/main.rs index 664985072f..d9c54d250b 100644 --- a/watchtower/src/main.rs +++ b/watchtower/src/main.rs @@ -154,6 +154,9 @@ fn get_config() -> Config { } fn process_confirmed_block(notifier: &Notifier, slot: Slot, confirmed_block: ConfirmedBlock) { + let break_program_id = "BrEAK7zGZ6dM71zUDACDqJnekihmwF15noTddWTsknjC" + .parse::() + .unwrap(); let mut vote_transactions = 0; for rpc_transaction in &confirmed_block.transactions { @@ -174,6 +177,9 @@ fn process_confirmed_block(notifier: &Notifier, slot: Slot, confirmed_block: Con notify = false; } } + if program_pubkey == break_program_id { + notify = false; + } } if notify {