From 0a949863c8b64665bd0f1bbdbc2fd09ab6e1aea5 Mon Sep 17 00:00:00 2001 From: Catrya <140891948+Catrya@users.noreply.github.com> Date: Tue, 10 Dec 2024 13:44:18 -0500 Subject: [PATCH] cargo fmt --- src/app/order.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/order.rs b/src/app/order.rs index 20ffd9cf..6edd3698 100644 --- a/src/app/order.rs +++ b/src/app/order.rs @@ -67,7 +67,7 @@ pub async fn order_action( amount_vec.push(max); } - if order.premium != 0 && order.amount !=0 && order.fiat_amount !=0 { + if order.premium != 0 && order.amount != 0 && order.fiat_amount != 0 { send_cant_do_msg(request_id, None, None, &event.sender).await; return Ok(()); }