pub fn sprout_joinsplit_pub_key(&self) -> Option<ed25519::VerificationKeyBytes> {
        match self {
            // JoinSplits with Bctv14 Proofs
            Transaction::V2 {
                joinsplit_data: Some(joinsplit_data),
                ..
            }
            | Transaction::V3 {
                joinsplit_data: Some(joinsplit_data),
                ..
            } => Some(joinsplit_data.pub_key),
            // JoinSplits with Groth Proofs
            Transaction::V4 {
                joinsplit_data: Some(joinsplit_data),
                ..
            } => Some(joinsplit_data.pub_key),
            // No JoinSplits
            Transaction::V1 { .. }
            | Transaction::V2 {
                joinsplit_data: None,
                ..
            }
            | Transaction::V3 {
                joinsplit_data: None,
                ..
            }
            | Transaction::V4 {
                joinsplit_data: None,
                ..
            }
            | Transaction::V5 { .. } => None,
        }
    }
/// Access the JoinSplit public validating key in this transaction,
/// regardless of version, if any.
Access the JoinSplit public validating key in this transaction,
regardless of version, if any.
Access the JoinSplit public validating key in this transaction regardless of version if any .
pub fn sprout_joinsplit_pub_key(&self) -> Option<ed25519::VerificationKeyBytes> {
        match self {
            // JoinSplits with Bctv14 Proofs
            Transaction::V2 {
                joinsplit_data: Some(joinsplit_data),
                ..
            }
            | Transaction::V3 {
                joinsplit_data: Some(joinsplit_data),
                ..
            } => Some(joinsplit_data.pub_key),
            // JoinSplits with Groth Proofs
            Transaction::V4 {
                joinsplit_data: Some(joinsplit_data),
                ..
            } => Some(joinsplit_data.pub_key),
            // No JoinSplits
            Transaction::V1 { .. }
            | Transaction::V2 {
                joinsplit_data: None,
                ..
            }
            | Transaction::V3 {
                joinsplit_data: None,
                ..
            }
            | Transaction::V4 {
                joinsplit_data: None,
                ..
            }
            | Transaction::V5 { .. } => None,
        }
    }
pub fn sprout_joinsplit_pub_key ( & self ) -> Option < ed25519 :: VerificationKeyBytes > { match self { // JoinSplits with Bctv14 Proofs Transaction :: V2 { joinsplit_data : Some ( joinsplit_data ) , .. } | Transaction :: V3 { joinsplit_data : Some ( joinsplit_data ) , .. } => Some ( joinsplit_data . pub_key ) , // JoinSplits with Groth Proofs Transaction :: V4 { joinsplit_data : Some ( joinsplit_data ) , .. } => Some ( joinsplit_data . pub_key ) , // No JoinSplits Transaction :: V1 { .. } | Transaction :: V2 { joinsplit_data : None , .. } | Transaction :: V3 { joinsplit_data : None , .. } | Transaction :: V4 { joinsplit_data : None , .. } | Transaction :: V5 { .. } => None , } }
Access the JoinSplit public validating key in this transaction,
regardless of version, if any.
Access the JoinSplit public validating key in this transaction regardless of version if any .
&self