Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Features

- program: post only respects reduce only ([#1878](https://github.com/drift-labs/protocol-v2/pull/1878))
- program: add sequence id to exchange/mm oracle ([#1834](https://github.com/drift-labs/protocol-v2/pull/1834))
- program: perp position max margin ratio ([#1847](https://github.com/drift-labs/protocol-v2/pull/1847))
- program: rm lp ([#1755](https://github.com/drift-labs/protocol-v2/pull/1755))
Expand Down
2 changes: 1 addition & 1 deletion programs/drift/src/state/user.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,7 @@ impl Order {
};

// if order is post only, can disregard reduce only
if !self.reduce_only || self.post_only {
if !self.reduce_only {
return Ok(base_asset_amount_unfilled);
}

Expand Down
Loading