Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: re comment uncommented block
Browse files Browse the repository at this point in the history
grumbach committed Jul 23, 2024
1 parent 850b28f commit 3f64f6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sn_client/src/audit/tests/mod.rs
Original file line number Diff line number Diff line change
@@ -85,7 +85,7 @@ fn test_spend_dag_double_spend_poisonning() -> Result<()> {
dag.insert(spend.address(), spend.clone());
}
assert_eq!(dag.record_faults(&genesis), Ok(()));
dag.dump_to_file("/tmp/test_spend_dag_double_spend_poisonning")?;
// dag.dump_to_file("/tmp/test_spend_dag_double_spend_poisonning")?;

// make sure double spend is detected
assert_eq!(spend1, spend2, "both spends should be at the same address");
@@ -173,7 +173,7 @@ fn test_spend_dag_double_spend_branches() -> Result<()> {
}

assert_eq!(dag.record_faults(&genesis), Ok(()));
dag.dump_to_file("/tmp/test_spend_dag_double_spend_branches")?;
// dag.dump_to_file("/tmp/test_spend_dag_double_spend_branches")?;

// make sure double spend is detected
assert_eq!(spend2, spend2a, "both spends should be at the same address");

0 comments on commit 3f64f6d

Please sign in to comment.