Skip to content

Commit 4168048

Browse files
committed
fix: update
1 parent cb2b86f commit 4168048

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

cli/src/interceptor.rs

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
use std::num::NonZeroU32;
2-
use std::str::FromStr;
3-
use std::time::{SystemTime, UNIX_EPOCH};
1+
use std::{
2+
num::NonZeroU32,
3+
time::{SystemTime, UNIX_EPOCH},
4+
};
45

56
use jito_bytemuck::AccountDeserialize;
67
use solana_account_decoder::UiAccountEncoding;
@@ -69,7 +70,7 @@ pub fn command_create_stake_deposit_authority(
6970
&config.fee_payer.pubkey(),
7071
stake_pool_address,
7172
&stake_pool.pool_mint,
72-
&Pubkey::from_str("DPoo15wWDqpPJJtS2MUZ49aRxqz5ZaaJCJP4z8bLuib").unwrap(),
73+
&spl_stake_pool::id(),
7374
&spl_token::id(),
7475
fee_wallet,
7576
cool_down_seconds,
@@ -493,6 +494,7 @@ pub fn command_claim_tokens(
493494
}
494495
}
495496

497+
/// Command to get [`StakePoolDepositStakeAuthority`]
496498
pub fn command_get_stake_deposit_authority(
497499
config: &Config,
498500
stake_deposit_authority_address: &Pubkey,

cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3108,7 +3108,7 @@ fn main() {
31083108
)
31093109
)
31103110
.subcommand(SubCommand::with_name("get-stake-deposit-authority")
3111-
.about("Claim pool tokens for a specific deposit receipt")
3111+
.about("Get a stake deposit authority for a specific stake pool")
31123112
.arg(
31133113
Arg::with_name("stake_deposit_authority")
31143114
.index(1)

stake_deposit_interceptor/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pub mod state;
1111
#[cfg(not(feature = "no-entrypoint"))]
1212
pub mod entrypoint;
1313

14-
declare_id!("2KVTQfCi5YfmgmTKyHTZVz8s1G3YHAxuhpW1J65sdwwu");
14+
declare_id!("5TAiuAh3YGDbwjEruC1ZpXTJWdNDS7Ur7VeqNNiHMmGV");
1515

1616
#[cfg(not(feature = "no-entrypoint"))]
1717
security_txt! {

0 commit comments

Comments
 (0)