registry: Match pool_mint

This commit is contained in:
armaniferrante 2021-03-13 10:41:02 -08:00
parent 3032a09886
commit 6dc03fa9b5
No known key found for this signature in database
GPG Key ID: 58BEF301E91F7828
1 changed files with 1 additions and 1 deletions

View File

@ -784,7 +784,7 @@ pub struct Stake<'info> {
#[derive(Accounts)]
pub struct StartUnstake<'info> {
// Stake instance globals.
#[account(has_one = reward_event_q)]
#[account(has_one = reward_event_q, has_one = pool_mint)]
registrar: ProgramAccount<'info, Registrar>,
reward_event_q: ProgramAccount<'info, RewardQueue>,
#[account(mut)]