Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
XuyangSong committed Sep 14, 2024
1 parent dd9a281 commit cc4366f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion taiga_halo2/examples/tx_examples/token_swap_with_intent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ pub fn consume_token_intent_ptx<R: RngCore>(
// Fetch a valid anchor for dummy resources
let anchor = Anchor::from(pallas::Base::random(&mut rng));

// Create compliance pairs
// Create compliance proof
let compliance = ComplianceInfo::new(
intent_resource,
merkle_path.clone(),
Expand Down
1 change: 0 additions & 1 deletion taiga_halo2/src/resource_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ impl ResourceExistenceWitness {
self.resource
}

// TODO: fix the depth
pub fn get_path(&self) -> [(pallas::Base, LR); TAIGA_RESOURCE_TREE_DEPTH] {
self.merkle_path
}
Expand Down

0 comments on commit cc4366f

Please sign in to comment.