Skip to content

Commit

Permalink
fix: adapt consts
Browse files Browse the repository at this point in the history
  • Loading branch information
grumbach committed Jun 4, 2024
1 parent 98c1234 commit ac023b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sn_auditor/src/dag_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ impl SpendDagDb {
utxo_addresses.extend(
new_utxos
.into_iter()
.map(|a| (a, Instant::now() + REATTEMPT_INTERVAL)),
.map(|a| (a, Instant::now() + *UTXO_REATTEMPT_INTERVAL)),
);
} else {
panic!("There is no point in running the auditor if we are not collecting the DAG or collecting data through crawling. Please enable the `dag-collection` feature or provide beta program related arguments.");
Expand All @@ -285,7 +285,7 @@ impl SpendDagDb {
utxo_addresses.extend(
new_utxos
.into_iter()
.map(|a| (a, Instant::now() + REATTEMPT_INTERVAL)),
.map(|a| (a, Instant::now() + *UTXO_REATTEMPT_INTERVAL)),
);

// write updates to local DAG and save to disk
Expand Down

0 comments on commit ac023b4

Please sign in to comment.