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

solana: fix several comments #5

Merged
merged 2 commits into from
Feb 24, 2024
Merged
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
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
Loading