Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions solana-programs/claimable-tokens/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,8 @@ fn main() -> anyhow::Result<()> {
let _base_account = (|| -> anyhow::Result<_> {
let mint = pubkey_of(args, "mint").unwrap();
let program_id = pubkey_of(args, "program_id").unwrap();
println!("Recieved mint {:?}", mint);
println!("Recieved program_id {:?}", program_id);
Copy link
Contributor

@rickyrombo rickyrombo Aug 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that's definitely a typo alright.

Unfortunately, the bar for a new deploy of the program is quite high, and it's important that this code matches what code is currently deployed on the production program deploy. With that in mind, I think we're stuck with this typo until a change that meets the bar and requires us to deploy the program to a new address, in which case we can bundle this change in with that new deploy.

println!("Received mint {:?}", mint);
println!("Received program_id {:?}", program_id);
let program_base_address =
Pubkey::find_program_address(&[&mint.to_bytes()[..32]], &program_id);
println!("Recieved program_base_address {:?}", program_base_address);
Expand Down