diff --git a/staking/programs/integrity-pool/src/lib.rs b/staking/programs/integrity-pool/src/lib.rs index d054f89b..829cb145 100644 --- a/staking/programs/integrity-pool/src/lib.rs +++ b/staking/programs/integrity-pool/src/lib.rs @@ -63,7 +63,7 @@ pub mod integrity_pool { ctx: Context, reward_program_authority: Pubkey, ) -> Result<()> { - ctx.accounts.pool_config.slash_custody = reward_program_authority; + ctx.accounts.pool_config.reward_program_authority = reward_program_authority; Ok(()) }