diff --git a/src/builder.rs b/src/builder.rs index d3f4332f..f69a3cb6 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -55,7 +55,8 @@ pub enum SpendError { } /// The only error that can occur here is if outputs are disabled for this builder. -pub type OutputsDisabled = (); +#[derive(Debug, PartialEq, Eq)] +pub struct OutputsDisabled; impl From for BuildError { fn from(e: halo2_proofs::plonk::Error) -> Self {