Add missing feature flag conditional
This commit is contained in:
parent
f9bf5a173f
commit
054b374b5a
|
@ -339,6 +339,7 @@ pub(crate) fn ufvk_to_uivk<P: consensus::Parameters>(
|
||||||
divk[32..].copy_from_slice(&ivk[..]);
|
divk[32..].copy_from_slice(&ivk[..]);
|
||||||
ivks.push(Ivk::Sapling(divk));
|
ivks.push(Ivk::Sapling(divk));
|
||||||
}
|
}
|
||||||
|
#[cfg(feature = "transparent-inputs")]
|
||||||
if let Some(tfvk) = ufvk.transparent() {
|
if let Some(tfvk) = ufvk.transparent() {
|
||||||
let tivk = tfvk.derive_external_ivk()?;
|
let tivk = tfvk.derive_external_ivk()?;
|
||||||
ivks.push(Ivk::P2pkh(tivk.serialize().try_into().map_err(|_| {
|
ivks.push(Ivk::P2pkh(tivk.serialize().try_into().map_err(|_| {
|
||||||
|
|
Loading…
Reference in New Issue