Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
QuantumExplorer committed Oct 26, 2023
1 parent 4bb48e6 commit 3348706
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion grovedb/src/operations/proof/generate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,10 @@ impl GroveDb {

// if the subtree is empty, return the EmptyTree proof op
if subtree.root_hash().unwrap() == EMPTY_TREE_HASH {
cost_return_on_error_no_add!(&cost, write_to_vec(proofs, &[ProofTokenType::EmptyTree.into()]));
cost_return_on_error_no_add!(
&cost,
write_to_vec(proofs, &[ProofTokenType::EmptyTree.into()])
);
return Ok(limit_offset).wrap_with_cost(cost);
}

Expand Down

0 comments on commit 3348706

Please sign in to comment.