Skip to content

Commit

Permalink
program: AmmPaused doesnt block all fills
Browse files Browse the repository at this point in the history
  • Loading branch information
crispheaney committed Jan 27, 2024
1 parent 7fafc52 commit 31a0409
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixes

- program: AmmPaused doesnt block all fills

### Breaking

## [2.57.0] - 2023-01-25
Expand Down
1 change: 1 addition & 0 deletions programs/drift/src/controller/orders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,7 @@ pub fn fill_perp_order(
matches!(
market.status,
MarketStatus::Active
| MarketStatus::AmmPaused
| MarketStatus::FundingPaused
| MarketStatus::ReduceOnly
| MarketStatus::WithdrawPaused
Expand Down

0 comments on commit 31a0409

Please sign in to comment.