ignore break (#10666)
This commit is contained in:
committed by
GitHub
parent
7a741bb79a
commit
a5f82c995e
@ -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::<Pubkey>()
|
||||
.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 {
|
||||
|
Reference in New Issue
Block a user