Update incrementalmerkletree version.

This commit is contained in:
Kris Nuttycombe 2021-08-05 07:51:19 -06:00
parent 55279b8648
commit d8091dd575
2 changed files with 2 additions and 1 deletions

View File

@ -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" }

View File

@ -485,7 +485,7 @@ pub mod testing {
0x9c, 0x52, 0x7f, 0x0e,
];
let mut frontier = BridgeFrontier::<MerkleCrhOrchardOutput, 32>::new();
let mut frontier = BridgeFrontier::<MerkleCrhOrchardOutput, 32>::empty();
for commitment in commitments.iter() {
let cmx = MerkleCrhOrchardOutput(pallas::Base::from_bytes(commitment).unwrap());
frontier.append(&cmx);