Skip to content

Commit

Permalink
solana: fix several comments (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
deekerno authored Feb 24, 2024
1 parent db7f618 commit d864147
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub fn improve_offer(ctx: Context<ImproveOffer>, fee_offer: u64) -> Result<()> {
);
}

// Transfer funds from the `best_offer` token account to the `offer_token` token account,
// Transfer funds from the `offer_token` token account to the `best_offer_token` token account,
// but only if the pubkeys are different.
let offer_token = ctx.accounts.offer_token.key();
if auction_info.best_offer_token != offer_token {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ pub fn prepare_order_response_cctp(
// instructions:
// * settle_auction_active_cctp
// * settle_auction_complete
// * execute_slow_order_no_auction
// * settle_auction_none
ctx.accounts
.prepared_order_response
.set_inner(PreparedOrderResponse {
Expand Down

0 comments on commit d864147

Please sign in to comment.