Skip to content

Commit 83ae2e5

Browse files
committed
solana: fix incorrect comment for improve_offer()
1 parent db7f618 commit 83ae2e5

File tree

1 file changed

+1
-1
lines changed
  • solana/programs/matching-engine/src/processor/auction/offer

1 file changed

+1
-1
lines changed

solana/programs/matching-engine/src/processor/auction/offer/improve.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ pub fn improve_offer(ctx: Context<ImproveOffer>, fee_offer: u64) -> Result<()> {
7979
);
8080
}
8181

82-
// Transfer funds from the `best_offer` token account to the `offer_token` token account,
82+
// Transfer funds from the `offer_token` token account to the `best_offer_token` token account,
8383
// but only if the pubkeys are different.
8484
let offer_token = ctx.accounts.offer_token.key();
8585
if auction_info.best_offer_token != offer_token {

0 commit comments

Comments
 (0)