File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
1010### Features
1111
12+ - program: post only respects reduce only ([ #1878 ] ( https://github.com/drift-labs/protocol-v2/pull/1878 ) )
1213- program: add sequence id to exchange/mm oracle ([ #1834 ] ( https://github.com/drift-labs/protocol-v2/pull/1834 ) )
1314- program: perp position max margin ratio ([ #1847 ] ( https://github.com/drift-labs/protocol-v2/pull/1847 ) )
1415- program: rm lp ([ #1755 ] ( https://github.com/drift-labs/protocol-v2/pull/1755 ) )
Original file line number Diff line number Diff line change @@ -1408,7 +1408,7 @@ impl Order {
14081408 } ;
14091409
14101410 // if order is post only, can disregard reduce only
1411- if !self . reduce_only || self . post_only {
1411+ if !self . reduce_only {
14121412 return Ok ( base_asset_amount_unfilled) ;
14131413 }
14141414
You can’t perform that action at this time.
0 commit comments