Skip to content

Commit

Permalink
chore: make a constant
Browse files Browse the repository at this point in the history
  • Loading branch information
grumbach committed Apr 1, 2024
1 parent b8b01ff commit 3d231c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sn_auditor/src/dag_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,9 @@ impl SpendDagDb {
};

// update that copy 10 generations further
const NEXT_10_GEN: u32 = 10;
self.client
.spend_dag_continue_from_utxos(&mut dag, Some(10))
.spend_dag_continue_from_utxos(&mut dag, Some(NEXT_10_GEN))
.await?;

// write update to DAG
Expand Down

0 comments on commit 3d231c6

Please sign in to comment.