Skip to content

Commit

Permalink
removes a constant
Browse files Browse the repository at this point in the history
  • Loading branch information
gangov committed Sep 4, 2024
1 parent 05a2e70 commit abe0a4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contracts/auctions/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ use crate::{
},
token,
};
const ONE: u64 = 1u64;

#[contract]
pub struct MarketplaceContract;
Expand Down Expand Up @@ -311,7 +310,7 @@ impl MarketplaceContract {
&auction.seller,
&buyer,
&auction.item_info.item_id,
&ONE,
&1,
);

auction.status = AuctionStatus::Ended;
Expand Down

0 comments on commit abe0a4e

Please sign in to comment.