mirror of https://github.com/zcash/orchard.git
Replace type alias with zero-size struct
Co-authored-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
9807e325d7
commit
938b122814
|
@ -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<halo2_proofs::plonk::Error> for BuildError {
|
||||
fn from(e: halo2_proofs::plonk::Error) -> Self {
|
||||
|
|
Loading…
Reference in New Issue