File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
programs/drift/src/state/order_params Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -743,7 +743,7 @@ mod get_close_perp_params {
743743 let auction_start_price = params. auction_start_price . unwrap ( ) ;
744744 let auction_end_price = params. auction_end_price . unwrap ( ) ;
745745 let oracle_price_offset = params. oracle_price_offset . unwrap ( ) ;
746- assert_eq ! ( auction_start_price, 1 * PRICE_PRECISION_I64 ) ;
746+ assert_eq ! ( auction_start_price, PRICE_PRECISION_I64 ) ;
747747 assert_eq ! ( auction_end_price, 4 * PRICE_PRECISION_I64 ) ;
748748 assert_eq ! ( oracle_price_offset, 4 * PRICE_PRECISION_I64 as i32 ) ;
749749
@@ -882,7 +882,7 @@ mod get_close_perp_params {
882882 let auction_start_price = params. auction_start_price . unwrap ( ) ;
883883 let auction_end_price = params. auction_end_price . unwrap ( ) ;
884884 let oracle_price_offset = params. oracle_price_offset . unwrap ( ) ;
885- assert_eq ! ( auction_start_price, -1 * PRICE_PRECISION_I64 ) ;
885+ assert_eq ! ( auction_start_price, -PRICE_PRECISION_I64 ) ;
886886 assert_eq ! ( auction_end_price, -4 * PRICE_PRECISION_I64 ) ;
887887 assert_eq ! ( oracle_price_offset, -4 * PRICE_PRECISION_I64 as i32 ) ;
888888
You can’t perform that action at this time.
0 commit comments