Skip to content

Commit

Permalink
fix: resolve flipped comm_q/comm_c usage (#962)
Browse files Browse the repository at this point in the history
fix: resolve flipped comm_q/comm_c usage
  • Loading branch information
dignifiedquire committed Dec 2, 2019
2 parents 5070de9 + f26601f commit 635a432
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion storage-proofs/src/stacked/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,6 @@ impl<H: Hasher, G: Hasher> TemporaryAux<H, G> {
let tree_q: Tree<H> =
MerkleTree::from_data_store(tree_q_store, get_merkle_tree_leafs(tree_q_size))
.context("tree_q")?;

tree_q.delete(t_aux.tree_q_config).context("tree_q")?;

for i in 0..t_aux.labels.labels.len() {
Expand Down
4 changes: 2 additions & 2 deletions storage-proofs/src/stacked/proof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -806,9 +806,9 @@ impl<'a, H: 'static + Hasher, G: 'static + Hasher> StackedDrg<'a, H, G> {
let mut tree_r_last_config =
StoreConfig::from_config(&config, CacheKey::CommRLastTree.to_string(), None);
let mut tree_c_config =
StoreConfig::from_config(&config, CacheKey::CommQTree.to_string(), None);
let mut tree_q_config =
StoreConfig::from_config(&config, CacheKey::CommCTree.to_string(), None);
let mut tree_q_config =
StoreConfig::from_config(&config, CacheKey::CommQTree.to_string(), None);

// Build the MerkleTree over the original data (if needed).
let tree_d = match data_tree {
Expand Down

0 comments on commit 635a432

Please sign in to comment.