Commit cc0832d 1 parent bae55d4 commit cc0832d Copy full SHA for cc0832d
File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,13 @@ use crate::CellIndex;
6
6
#[ derive( Debug ) ]
7
7
pub enum Error {
8
8
Prover ( ProverError ) ,
9
- VerifierError ( VerifierError ) ,
9
+ Verifier ( VerifierError ) ,
10
10
Serialization ( SerializationError ) ,
11
11
}
12
12
13
13
impl Error {
14
14
pub fn invalid_proof ( & self ) -> bool {
15
- matches ! ( self , Error :: VerifierError ( VerifierError :: InvalidProof ) )
15
+ matches ! ( self , Error :: Verifier ( VerifierError :: InvalidProof ) )
16
16
}
17
17
}
18
18
@@ -23,7 +23,7 @@ impl From<ProverError> for Error {
23
23
}
24
24
impl From < VerifierError > for Error {
25
25
fn from ( value : VerifierError ) -> Self {
26
- Error :: VerifierError ( value)
26
+ Error :: Verifier ( value)
27
27
}
28
28
}
29
29
impl From < SerializationError > for Error {
@@ -35,8 +35,6 @@ impl From<SerializationError> for Error {
35
35
/// Errors that can occur while calling a method in the Prover API
36
36
#[ derive( Debug ) ]
37
37
pub enum ProverError {
38
- // TODO: This will be getting removed, waiting for consensus-specs PR
39
- NumProofsDoesNotEqualNumCells ,
40
38
RecoveryFailure ( VerifierError ) ,
41
39
}
42
40
You can’t perform that action at this time.
0 commit comments