From 0bb78940f26e77bcff1c8d3ead3cd63d58ce5590 Mon Sep 17 00:00:00 2001 From: Frederik Gartenmeister Date: Tue, 5 Sep 2023 08:26:51 +0200 Subject: [PATCH] fix: clippyyyyy --- pallets/order-book/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pallets/order-book/src/lib.rs b/pallets/order-book/src/lib.rs index b03cd94a92..2bbed407ac 100644 --- a/pallets/order-book/src/lib.rs +++ b/pallets/order-book/src/lib.rs @@ -704,7 +704,7 @@ pub mod pallet { order.min_fullfillment_amount = min_fullfillment_amount; order.max_sell_amount = max_sell_amount; - validate(&order)?; + validate(order)?; Ok(max_sell_amount) },