Skip to content

Commit 22a8557

Browse files
committed
fix: Remove multiple order update to open
1 parent c9d596d commit 22a8557

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mobile/native/src/trade/order/handler.rs

-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ pub async fn submit_order_internal(
131131
return Err(SubmitOrderError::Orderbook(err));
132132
}
133133

134-
set_order_to_open_and_update_ui(order.id).map_err(SubmitOrderError::Storage)?;
135134
update_position_after_order_submitted(&order).map_err(SubmitOrderError::Storage)?;
136135

137136
Ok(order.id)

0 commit comments

Comments
 (0)