File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1- use std:: fmt:: { Display , Formatter } ;
1+ use std:: {
2+ error:: Error ,
3+ fmt:: { self , Display , Formatter } ,
4+ } ;
25
36use libbitcoinkernel_sys:: {
47 btck_ScriptVerificationFlags, btck_ScriptVerifyStatus, btck_TransactionOutput,
@@ -183,7 +186,7 @@ pub enum ScriptVerifyError {
183186}
184187
185188impl Display for ScriptVerifyError {
186- fn fmt ( & self , f : & mut Formatter < ' _ > ) -> std :: fmt:: Result {
189+ fn fmt ( & self , f : & mut Formatter < ' _ > ) -> fmt:: Result {
187190 match self {
188191 ScriptVerifyError :: TxInputIndex => write ! ( f, "Transaction input index out of bounds" ) ,
189192 ScriptVerifyError :: TxSizeMismatch => write ! ( f, "Transaction size mismatch" ) ,
@@ -201,7 +204,7 @@ impl Display for ScriptVerifyError {
201204 }
202205}
203206
204- impl std :: error :: Error for ScriptVerifyError { }
207+ impl Error for ScriptVerifyError { }
205208
206209#[ cfg( test) ]
207210mod tests {
You can’t perform that action at this time.
0 commit comments