(cherry picked from commit a5f82c995e
)
Co-authored-by: anatoly yakovenko <anatoly@solana.com>
This commit is contained in:
@ -139,6 +139,9 @@ fn get_config() -> Config {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn process_confirmed_block(notifier: &Notifier, slot: Slot, confirmed_block: ConfirmedBlock) {
|
fn process_confirmed_block(notifier: &Notifier, slot: Slot, confirmed_block: ConfirmedBlock) {
|
||||||
|
let break_program_id = "BrEAK7zGZ6dM71zUDACDqJnekihmwF15noTddWTsknjC"
|
||||||
|
.parse::<Pubkey>()
|
||||||
|
.unwrap();
|
||||||
let mut vote_transactions = 0;
|
let mut vote_transactions = 0;
|
||||||
|
|
||||||
for rpc_transaction in &confirmed_block.transactions {
|
for rpc_transaction in &confirmed_block.transactions {
|
||||||
@ -159,6 +162,9 @@ fn process_confirmed_block(notifier: &Notifier, slot: Slot, confirmed_block: Con
|
|||||||
notify = false;
|
notify = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if program_pubkey == break_program_id {
|
||||||
|
notify = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if notify {
|
if notify {
|
||||||
|
Reference in New Issue
Block a user