@@ -173,8 +173,6 @@ impl From<btck_ScriptVerifyStatus> for ScriptVerifyStatus {
173173#[ derive( Debug ) ]
174174pub enum ScriptVerifyError {
175175 TxInputIndex ,
176- TxSizeMismatch ,
177- TxDeserialize ,
178176 InvalidFlags ,
179177 InvalidFlagsCombination ,
180178 SpentOutputsMismatch ,
@@ -186,8 +184,6 @@ impl Display for ScriptVerifyError {
186184 fn fmt ( & self , f : & mut Formatter < ' _ > ) -> std:: fmt:: Result {
187185 match self {
188186 ScriptVerifyError :: TxInputIndex => write ! ( f, "Transaction input index out of bounds" ) ,
189- ScriptVerifyError :: TxSizeMismatch => write ! ( f, "Transaction size mismatch" ) ,
190- ScriptVerifyError :: TxDeserialize => write ! ( f, "Failed to deserialize transaction" ) ,
191187 ScriptVerifyError :: InvalidFlags => write ! ( f, "Invalid verification flags" ) ,
192188 ScriptVerifyError :: InvalidFlagsCombination => {
193189 write ! ( f, "Invalid combination of verification flags" )
@@ -343,8 +339,6 @@ mod tests {
343339 fn test_script_verify_error_debug ( ) {
344340 let errors = vec ! [
345341 ScriptVerifyError :: TxInputIndex ,
346- ScriptVerifyError :: TxSizeMismatch ,
347- ScriptVerifyError :: TxDeserialize ,
348342 ScriptVerifyError :: InvalidFlags ,
349343 ScriptVerifyError :: InvalidFlagsCombination ,
350344 ScriptVerifyError :: SpentOutputsMismatch ,
0 commit comments