@@ -88,8 +88,6 @@ pub enum Error {
88
88
Type ( types:: Error ) ,
89
89
// Execution error
90
90
Execution ( bit_machine:: ExecutionError ) ,
91
- /// Witness iterator ended early
92
- NoMoreWitnesses ,
93
91
/// Tried to parse a jet but the name wasn't recognized
94
92
InvalidJetName ( String ) ,
95
93
/// Policy error
@@ -107,7 +105,6 @@ impl fmt::Display for Error {
107
105
Error :: Type ( ref e) => fmt:: Display :: fmt ( e, f) ,
108
106
Error :: Execution ( ref e) => fmt:: Display :: fmt ( e, f) ,
109
107
Error :: InvalidJetName ( s) => write ! ( f, "unknown jet `{}`" , s) ,
110
- Error :: NoMoreWitnesses => f. write_str ( "no more witness data available" ) ,
111
108
#[ cfg( feature = "elements" ) ]
112
109
Error :: Policy ( ref e) => fmt:: Display :: fmt ( e, f) ,
113
110
}
@@ -121,7 +118,6 @@ impl std::error::Error for Error {
121
118
Error :: DisconnectRedeemTime => None ,
122
119
Error :: Type ( ref e) => Some ( e) ,
123
120
Error :: Execution ( ref e) => Some ( e) ,
124
- Error :: NoMoreWitnesses => None ,
125
121
Error :: InvalidJetName ( ..) => None ,
126
122
#[ cfg( feature = "elements" ) ]
127
123
Error :: Policy ( ref e) => Some ( e) ,
0 commit comments