Skip to content

Commit 4226769

Browse files
committed
program: allow hot wallet to increase max spread
1 parent 2c02710 commit 4226769

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

programs/drift/src/instructions/admin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3739,7 +3739,7 @@ pub fn handle_update_amm_jit_intensity(
37393739
perp_market_valid(&ctx.accounts.perp_market)
37403740
)]
37413741
pub fn handle_update_perp_market_max_spread(
3742-
ctx: Context<AdminUpdatePerpMarket>,
3742+
ctx: Context<HotAdminUpdatePerpMarket>,
37433743
max_spread: u32,
37443744
) -> Result<()> {
37453745
let perp_market = &mut load_mut!(ctx.accounts.perp_market)?;

programs/drift/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@ pub mod drift {
14811481
}
14821482

14831483
pub fn update_perp_market_max_spread(
1484-
ctx: Context<AdminUpdatePerpMarket>,
1484+
ctx: Context<HotAdminUpdatePerpMarket>,
14851485
max_spread: u32,
14861486
) -> Result<()> {
14871487
handle_update_perp_market_max_spread(ctx, max_spread)

0 commit comments

Comments
 (0)