Skip to content

Commit

Permalink
renames a var
Browse files Browse the repository at this point in the history
  • Loading branch information
gangov committed Sep 4, 2024
1 parent 01a2db8 commit cff1d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/auctions/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ impl MarketplaceContract {
let token_client = token::Client::new(&env, &auction.currency);

match auction.highest_bid {
Some(old_highest_bid) if bid_amount > old_highest_bid => {
Some(current_highest_bid) if bid_amount > current_highest_bid => {
// refund the previous highest bidder
let old_bid_info = get_highest_bid(&env, auction_id)?;

Expand Down

0 comments on commit cff1d13

Please sign in to comment.