diff --git a/client/src/configuration.rs b/client/src/configuration.rs index d443c63948..76cb461c48 100644 --- a/client/src/configuration.rs +++ b/client/src/configuration.rs @@ -888,10 +888,7 @@ impl Configuration { conf.additional_maintained_trace_epoch_count = Some(0); } } - if conf - .additional_maintained_transaction_index_epoch_count - .is_some() - { + if conf.additional_maintained_transaction_index_epoch_count != Some(0) { conf.persist_tx_index = true; } conf