Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions programs/drift/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,8 +296,6 @@ pub enum ErrorCode {
InvalidFeeStructure,
#[msg("Insufficient IF shares")]
InsufficientIFShares,
#[msg("Insurance fund withdrawal recipient must be the designated treasury address")]
InvalidInsuranceFundWithdrawalRecipient,
#[msg("the Market has paused this action")]
MarketActionPaused,
#[msg("the Market status doesnt allow placing orders")]
Expand Down Expand Up @@ -704,6 +702,8 @@ pub enum ErrorCode {
InvalidOrderScalePriceRange,
#[msg("Invalid perp market config")]
InvalidPerpMarketConfig,
#[msg("Insurance fund withdrawal recipient must be the designated treasury address")]
InvalidInsuranceFundWithdrawalRecipient,
}

#[macro_export]
Expand Down
Loading