Perp: Don't allow orders with effective price_lots<1
This commit is contained in:
parent
8bf6210991
commit
1b4140c078
|
@ -154,6 +154,7 @@ impl Order {
|
|||
}
|
||||
_ => fixed_price_data(price_lots)?,
|
||||
};
|
||||
require_gte!(price_lots, 1);
|
||||
Ok((price_lots, price_data))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue