From 4c96f5bcf5eafef5324577eafb5030ae919df520 Mon Sep 17 00:00:00 2001 From: Huulu <35667132+IssouChancla@users.noreply.github.com> Date: Sat, 16 Dec 2023 22:26:57 +0000 Subject: [PATCH 1/4] typo fix --- auction-house/program/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auction-house/program/src/utils.rs b/auction-house/program/src/utils.rs index 8889044cad..43d5708f92 100644 --- a/auction-house/program/src/utils.rs +++ b/auction-house/program/src/utils.rs @@ -632,7 +632,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 { From bb37994f4037e88f0f547b8584c41890b36bad58 Mon Sep 17 00:00:00 2001 From: Huulu <35667132+IssouChancla@users.noreply.github.com> Date: Sat, 16 Dec 2023 22:27:11 +0000 Subject: [PATCH 2/4] typo fix --- auction-house/program/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/auction-house/program/src/lib.rs b/auction-house/program/src/lib.rs index 8c1d628757..68fa62bdeb 100644 --- a/auction-house/program/src/lib.rs +++ b/auction-house/program/src/lib.rs @@ -682,21 +682,21 @@ pub struct CreateAuctionHouse<'info> { #[account(mut)] pub payer: Signer<'info>, - /// CHECK: User can use whatever they want for intialization. + /// CHECK: User can use whatever they want for initialization. // Authority key for the Auction House. pub authority: UncheckedAccount<'info>, - /// CHECK: User can use whatever they want for intialization. + /// CHECK: User can use whatever they want for initialization. /// Account that pays for fees if the marketplace executes sales. #[account(mut)] pub fee_withdrawal_destination: UncheckedAccount<'info>, - /// CHECK: User can use whatever they want for intialization. + /// CHECK: User can use whatever they want for initialization. /// SOL or SPL token account to receive Auction House fees. If treasury mint is native this will be the same as the `treasury_withdrawl_destination_owner`. #[account(mut)] pub treasury_withdrawal_destination: UncheckedAccount<'info>, - /// CHECK: User can use whatever they want for intialization. + /// CHECK: User can use whatever they want for initialization. /// Owner of the `treasury_withdrawal_destination` account or the same address if the `treasury_mint` is native. pub treasury_withdrawal_destination_owner: UncheckedAccount<'info>, From 5b618260a57abeaf9006f15a86b20e7c3733b911 Mon Sep 17 00:00:00 2001 From: Huulu <35667132+IssouChancla@users.noreply.github.com> Date: Sat, 16 Dec 2023 22:27:37 +0000 Subject: [PATCH 3/4] typo fix --- auction-house/program/src/receipt/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auction-house/program/src/receipt/mod.rs b/auction-house/program/src/receipt/mod.rs index 9ddb3c81ce..88f656a3c9 100644 --- a/auction-house/program/src/receipt/mod.rs +++ b/auction-house/program/src/receipt/mod.rs @@ -98,7 +98,7 @@ pub struct PurchaseReceipt { pub created_at: i64, } -/// Accounts for the [`print_listing_receipt` hanlder](fn.print_listing_receipt.html). +/// Accounts for the [`print_listing_receipt` handler](fn.print_listing_receipt.html). #[derive(Accounts)] #[instruction(receipt_bump: u8)] pub struct PrintListingReceipt<'info> { @@ -214,7 +214,7 @@ pub struct CancelListingReceipt<'info> { pub instruction: UncheckedAccount<'info>, } -/// Add a cancelation time to a listing receipt. +/// Add a cancellation time to a listing receipt. pub fn cancel_listing_receipt<'info>( ctx: Context<'_, '_, '_, 'info, CancelListingReceipt<'info>>, ) -> Result<()> { From 134f278ec66f3f11c39d4a39a8e0da45d83caaf9 Mon Sep 17 00:00:00 2001 From: Huulu <35667132+IssouChancla@users.noreply.github.com> Date: Sat, 16 Dec 2023 22:27:52 +0000 Subject: [PATCH 4/4] typo fix --- auction-house/program/src/cancel/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auction-house/program/src/cancel/mod.rs b/auction-house/program/src/cancel/mod.rs index 85c6169200..3a757ecafa 100644 --- a/auction-house/program/src/cancel/mod.rs +++ b/auction-house/program/src/cancel/mod.rs @@ -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>, } @@ -124,7 +124,7 @@ pub struct AuctioneerCancel<'info> { /// Auction House instance authority account. pub authority: UncheckedAccount<'info>, - /// CHECK: Validated in ah_auctioneer_pda seeds anbd as a signer in cancel_logic. + /// CHECK: Validated in ah_auctioneer_pda seeds and as a signer in cancel_logic. /// The auctioneer authority - typically a PDA of the Auctioneer program running this action. pub auctioneer_authority: Signer<'info>,