Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add edit order instructions for spot and perp #191

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
6 changes: 5 additions & 1 deletion program/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,11 @@ pub enum MangoErrorCode {
)]
NewOrdersNotAllowed,

#[error("MangoErrorCode::Default Check the source code for more info")] // 44
#[error("MangoErrorCode::InvalidOrderBookQuantity")]
InvalidOrderBookQuantity,
#[error("MangoErrorCode::InvalidCancelSize")]
InvalidCancelSize,
#[error("MangoErrorCode::Default Check the source code for more info")] // 47
Default = u32::MAX_VALUE,
}

Expand Down
Loading