Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix typo in code reference: missing an other '='. (#398)
This commit corrects a typo in a code reference where a single '=' was used instead of '==': `require!(cash_account.owner = ctx.accounts.signer, ErrorCode::InvalidSigner);` Contrary to the actual code implementation: `require!(cash_account.owner == ctx.accounts.signer.key(), ErrorCode::InvalidSigner);` This fix ensures the example or documentation accurately reflects the intended comparison logic, avoiding confusion for developers referencing this code.
- Loading branch information