From d8091dd575236f001bf844f658861b9efcfa5fcf Mon Sep 17 00:00:00 2001 From: Kris Nuttycombe Date: Thu, 5 Aug 2021 07:51:19 -0600 Subject: [PATCH] Update incrementalmerkletree version. --- Cargo.toml | 1 + src/tree.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index efd57ebb..f8b58541 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -77,3 +77,4 @@ debug = true [patch.crates-io] halo2 = { git = "https://github.com/zcash/halo2.git", rev = "27c4187673a9c6ade13fbdbd4f20955530c22d7f" } zcash_note_encryption = { git = "https://github.com/zcash/librustzcash.git", rev = "cc533a9da4f6a7209a7be05f82b12a03969152c9" } +incrementalmerkletree = { git = "https://github.com/zcash/incrementalmerkletree.git", rev = "b7bd6246122a6e9ace8edb51553fbf5228906cbb" } diff --git a/src/tree.rs b/src/tree.rs index 7e4676bd..fa719667 100644 --- a/src/tree.rs +++ b/src/tree.rs @@ -485,7 +485,7 @@ pub mod testing { 0x9c, 0x52, 0x7f, 0x0e, ]; - let mut frontier = BridgeFrontier::::new(); + let mut frontier = BridgeFrontier::::empty(); for commitment in commitments.iter() { let cmx = MerkleCrhOrchardOutput(pallas::Base::from_bytes(commitment).unwrap()); frontier.append(&cmx);