There was an error while loading. Please reload this page.
1 parent 2e1769e commit 2e57400Copy full SHA for 2e57400
1 file changed
program/src/instructions/place_order.rs
@@ -82,9 +82,9 @@ pub unsafe fn process_place_order<'a>(
82
let order_sector_index_bytes = order_sector_index.to_le_bytes();
83
84
// 1. Check that the user has enough collateral to place the order and update their seat
85
- // with the resulting decremented amount.
+ // with the resulting decremented amount.
86
// 2. Update the user seat's mapped order sectors. This also checks for duplicate prices so
87
- // that all of a user's orders have a unique price.
+ // that all of a user's orders have a unique price.
88
if is_bid {
89
// 1. If the user is placing a bid, they intend to provide quote and receive base.
90
user_seat.try_decrement_quote_available(quote_atoms)?;
0 commit comments