Skip to content

Commit

Permalink
program: TransferProtocolIfShares tweak (#1055)
Browse files Browse the repository at this point in the history
* program: TransferProtocolIfShares tweak

* CHANGELOG
  • Loading branch information
crispheaney committed May 23, 2024
1 parent b48ad5c commit a688f8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
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

0 comments on commit a688f8a

Please sign in to comment.