Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

program: TransferProtocolIfShares tweak #1055

Merged
merged 2 commits into from
May 23, 2024
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Features

- program: TransferProtocolIfShares constraint ([#1055](https://github.com/drift-labs/protocol-v2/pull/1055))
- program: sanitize extreme auction end prices ([#1031](https://github.com/drift-labs/protocol-v2/pull/1031))

### Fixes
Expand Down
2 changes: 2 additions & 0 deletions programs/drift/src/instructions/if_staker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,8 @@ pub struct TransferProtocolIfShares<'info> {
pub spot_market: AccountLoader<'info, SpotMarket>,
#[account(
mut,
seeds = [b"insurance_fund_stake", authority.key.as_ref(), market_index.to_le_bytes().as_ref()],
bump,
has_one = authority,
)]
pub insurance_fund_stake: AccountLoader<'info, InsuranceFundStake>,
Expand Down
Loading