Skip to content

Commit

Permalink
fix(node): rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Oct 29, 2024
1 parent 880dc2b commit e65544b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/iota-node/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit e65544b

Please sign in to comment.