Merge pull request #57 from harsh4786/main

Fixed mint constraint on the payer wallet token account of Request Result context
This commit is contained in:
gallynaut 2022-08-22 08:51:45 -06:00 committed by GitHub
commit 7bacddd745
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ pub struct RequestResult<'info> {
#[account(mut, #[account(mut,
constraint = constraint =
payer_wallet.owner == payer_authority.key() payer_wallet.owner == payer_authority.key()
&& escrow.mint == program_state.load()?.token_mint && payer_wallet.mint == program_state.load()?.token_mint
)] )]
pub payer_wallet: Account<'info, TokenAccount>, pub payer_wallet: Account<'info, TokenAccount>,
/// CHECK: /// CHECK: