diff --git a/zcash_primitives/src/address/f4jumble.rs b/zcash_primitives/src/address/f4jumble.rs index 81fe18f2b..9db6a77c6 100644 --- a/zcash_primitives/src/address/f4jumble.rs +++ b/zcash_primitives/src/address/f4jumble.rs @@ -148,6 +148,8 @@ mod tests { for v in test_vectors() { let jumbled = f4jumble(&v.normal).unwrap(); assert_eq!(jumbled, v.jumbled); + let unjumbled = f4jumble_inv(&v.jumbled).unwrap(); + assert_eq!(unjumbled, v.normal); } } }