From d35a9bd1442326fcb3906d40e97e5995fdab8826 Mon Sep 17 00:00:00 2001 From: buffalu <85544055+buffalu@users.noreply.github.com> Date: Sun, 6 Oct 2024 08:26:22 -0500 Subject: [PATCH] Loosen tip requirement [v2.0] (#685) --- core/src/tpu.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/core/src/tpu.rs b/core/src/tpu.rs index 956da042a8c..23c031aaaf1 100644 --- a/core/src/tpu.rs +++ b/core/src/tpu.rs @@ -297,11 +297,9 @@ impl Tpu { let bundle_account_locker = BundleAccountLocker::default(); - // tip accounts can't be used in BankingStage to avoid someone from stealing tips mid-slot. - // it also helps reduce surface area for potential account contention + // The tip program can't be used in BankingStage to avoid someone from stealing tips mid-slot. let mut blacklisted_accounts = HashSet::new(); - blacklisted_accounts.insert(tip_manager.tip_payment_config_pubkey()); - blacklisted_accounts.extend(tip_manager.get_tip_accounts()); + blacklisted_accounts.insert(tip_manager.tip_payment_program_id()); let banking_stage = BankingStage::new( block_production_method, cluster_info,