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:
commit
7bacddd745
|
@ -76,7 +76,7 @@ pub struct RequestResult<'info> {
|
|||
#[account(mut,
|
||||
constraint =
|
||||
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>,
|
||||
/// CHECK:
|
||||
|
|
Loading…
Reference in New Issue