From e65544bafdb8087dd4669d0bb98d7d29a353c16b Mon Sep 17 00:00:00 2001 From: muXxer Date: Tue, 29 Oct 2024 12:20:24 +0100 Subject: [PATCH] fix(node): rustfmt --- crates/iota-node/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/iota-node/src/lib.rs b/crates/iota-node/src/lib.rs index 22922a1e13e..4f576913840 100644 --- a/crates/iota-node/src/lib.rs +++ b/crates/iota-node/src/lib.rs @@ -579,9 +579,7 @@ impl IotaNode { None }; - let rest_index = if is_full_node - && config.enable_rest_api - && config.enable_index_processing + let rest_index = if is_full_node && config.enable_rest_api && config.enable_index_processing { Some(Arc::new(RestIndexStore::new( config.db_path().join("rest_index"),