Skip to content

Commit

Permalink
done
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Aug 29, 2024
1 parent 46ca1e8 commit e1fd706
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions staking/programs/integrity-pool/src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ pub struct Delegate<'info> {
pub struct MergeDelegationPositions<'info> {
/// CHECK : This instruction is permissionless, this account will be checked against
/// stake_account_metadata in the CPI
#[account(mut)]
pub owner: AccountInfo<'info>,

pub pool_data: AccountLoader<'info, PoolData>,
Expand Down
4 changes: 3 additions & 1 deletion staking/target/idl/staking.json
Original file line number Diff line number Diff line change
Expand Up @@ -1203,8 +1203,10 @@
"accounts": [
{
"name": "owner",
"docs": [
"CHECK : This AccountInfo is safe because it's checked against stake_account_metadata"
],
"writable": true,
"signer": true,
"relations": [
"stake_account_metadata"
]
Expand Down
4 changes: 3 additions & 1 deletion staking/target/types/staking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1209,8 +1209,10 @@ export type Staking = {
"accounts": [
{
"name": "owner",
"docs": [
"CHECK : This AccountInfo is safe because it's checked against stake_account_metadata"
],
"writable": true,
"signer": true,
"relations": [
"stakeAccountMetadata"
]
Expand Down

0 comments on commit e1fd706

Please sign in to comment.