diff --git a/zebra-consensus/src/transaction.rs b/zebra-consensus/src/transaction.rs index 5f9e4828f87..d7b164e0fc0 100644 --- a/zebra-consensus/src/transaction.rs +++ b/zebra-consensus/src/transaction.rs @@ -43,9 +43,6 @@ mod tests; pub struct Verifier { network: Network, script_verifier: script::Verifier, - // spend_verifier: groth16::Verifier, - // output_verifier: groth16::Verifier, - // joinsplit_verifier: groth16::Verifier, } impl Verifier @@ -53,20 +50,10 @@ where ZS: Service + Send + Clone + 'static, ZS::Future: Send + 'static, { - // XXX: how should this struct be constructed? pub fn new(network: Network, script_verifier: script::Verifier) -> Self { - // There was a discussion that instantiating the verifiers here or externally and passed as - // constructor parameters might help with testing: - // https://github.com/ZcashFoundation/zebra/issues/2390#issuecomment-870159482 - // - // let (spend_verifier, output_verifier, joinsplit_verifier) = todo!(); - Self { network, script_verifier, - // spend_verifier, - // output_verifier, - // joinsplit_verifier, } } }