Revert "fix(pump): default token program to legacy SPL Token instead of Token-2022"

This reverts commit 49843d8a20.
This commit is contained in:
0xfnzero
2026-05-08 23:28:21 +08:00
parent 49843d8a20
commit ce8fb99626
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ use solana_sdk::{instruction::Instruction, pubkey::Pubkey, signer::Signer};
fn effective_pump_mint_token_program(protocol_params: &PumpFunParams) -> Pubkey {
let tp = protocol_params.token_program;
if tp == Pubkey::default() {
crate::constants::TOKEN_PROGRAM // legacy SPL Token — safe default; Token-2022 must be explicit
TOKEN_PROGRAM_2022
} else {
tp
}