Skip to content

Commit b3ca5ec

Browse files
authored
Loosen requirements on tip accounts touchable in BankingStage (#683)
1 parent b0d118e commit b3ca5ec

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

core/src/tpu.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -299,11 +299,9 @@ impl Tpu {
299299

300300
let bundle_account_locker = BundleAccountLocker::default();
301301

302-
// tip accounts can't be used in BankingStage to avoid someone from stealing tips mid-slot.
303-
// it also helps reduce surface area for potential account contention
302+
// The tip program can't be used in BankingStage to avoid someone from stealing tips mid-slot.
304303
let mut blacklisted_accounts = HashSet::new();
305-
blacklisted_accounts.insert(tip_manager.tip_payment_config_pubkey());
306-
blacklisted_accounts.extend(tip_manager.get_tip_accounts());
304+
blacklisted_accounts.insert(tip_manager.tip_payment_program_id());
307305
let banking_stage = BankingStage::new(
308306
block_production_method,
309307
cluster_info,

0 commit comments

Comments
 (0)