diff --git a/zcash_primitives/Cargo.toml b/zcash_primitives/Cargo.toml index c57dd4670..f8146ef7b 100644 --- a/zcash_primitives/Cargo.toml +++ b/zcash_primitives/Cargo.toml @@ -26,7 +26,7 @@ blake2s_simd = "1" bls12_381 = "0.7" bs58 = { version = "0.4", features = ["check"], optional = true } byteorder = "1" -chacha20poly1305 = "0.9" +chacha20poly1305 = "0.10" equihash = { version = "0.2", path = "../components/equihash" } ff = "0.12" fpe = "0.5" diff --git a/zcash_primitives/src/sapling/note_encryption.rs b/zcash_primitives/src/sapling/note_encryption.rs index bf3817374..1c324a1bc 100644 --- a/zcash_primitives/src/sapling/note_encryption.rs +++ b/zcash_primitives/src/sapling/note_encryption.rs @@ -542,7 +542,7 @@ pub fn try_sapling_output_recovery( #[cfg(test)] mod tests { use chacha20poly1305::{ - aead::{AeadInPlace, NewAead}, + aead::{AeadInPlace, KeyInit}, ChaCha20Poly1305, }; use ff::{Field, PrimeField};