Skip to content

Commit

Permalink
Merge pull request #2536 from peilun-conflux/enable_tx_index
Browse files Browse the repository at this point in the history
Enable persit_tx_index for Archive nodes automatically.
  • Loading branch information
peilun-conflux authored Jun 29, 2022
2 parents daa144b + d7f0bd8 commit 189f8a0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions client/src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 189f8a0

Please sign in to comment.