Skip to content

Commit

Permalink
registry: Match pool_mint
Browse files Browse the repository at this point in the history
  • Loading branch information
armaniferrante committed Mar 13, 2021
1 parent 3032a09 commit 6dc03fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/registry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 6dc03fa

Please sign in to comment.