diff --git a/staking/programs/integrity-pool/src/context.rs b/staking/programs/integrity-pool/src/context.rs index d056ccfd..aa79a27b 100644 --- a/staking/programs/integrity-pool/src/context.rs +++ b/staking/programs/integrity-pool/src/context.rs @@ -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>, diff --git a/staking/target/idl/staking.json b/staking/target/idl/staking.json index 43d6b2f9..5d7d4b98 100644 --- a/staking/target/idl/staking.json +++ b/staking/target/idl/staking.json @@ -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" ] diff --git a/staking/target/types/staking.ts b/staking/target/types/staking.ts index 0717d4bb..b8ed6f8f 100644 --- a/staking/target/types/staking.ts +++ b/staking/target/types/staking.ts @@ -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" ]