Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/err #1193

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fix/err #1193

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion auction-house/program/src/cancel/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ pub struct CancelRemainingAccounts<'info> {
pub auth_rules: UncheckedAccount<'info>,
///CHECK: checked in cpi
pub sysvar_instructions: UncheckedAccount<'info>,
///CHECK: chekced in cpi
///CHECK: checked in cpi
pub system_program: UncheckedAccount<'info>,
}

Expand Down
2 changes: 1 addition & 1 deletion auction-house/program/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ pub fn assert_valid_trade_state(
}

// This function verifies that there are enough funds in `account` such that `amount` can be
// withdrawn. If there are not sufficent funds it returns an error. If there are sufficient
// withdrawn. If there are not sufficient funds it returns an error. If there are sufficient
// funds, it returns any additional amount needed to keep the account above the rent exempt
// threshold.
pub fn verify_withdrawal(account: AccountInfo, amount: u64) -> Result<u64> {
Expand Down