@@ -156,7 +156,7 @@ pub enum AddressError {
156156
157157 // This is required because the bdk::bitcoin::address::Error is non-exhaustive
158158 #[ error( "other address error" ) ]
159- OtherAddressError ,
159+ OtherAddressErr ,
160160}
161161
162162// Mapping https://docs.rs/bitcoin/latest/src/bitcoin/consensus/encode.rs.html#40-63
@@ -182,7 +182,7 @@ pub enum TransactionError {
182182
183183 // This is required because the bdk::bitcoin::consensus::encode::Error is non-exhaustive
184184 #[ error( "other transaction error" ) ]
185- OtherTransactionError ,
185+ OtherTransactionErr ,
186186}
187187
188188#[ derive( Debug , thiserror:: Error ) ]
@@ -247,7 +247,7 @@ pub enum ExtractTxError {
247247 #[ error(
248248 "this error is required because the bdk::bitcoin::psbt::ExtractTxError is non-exhaustive"
249249 ) ]
250- OtherExtractTransactionError ,
250+ OtherExtractTxErr ,
251251}
252252
253253impl From < BdkDescriptorError > for DescriptorError {
@@ -439,7 +439,7 @@ impl From<bdk::bitcoin::address::Error> for AddressError {
439439 found,
440440 address : format ! ( "{:?}" , address) ,
441441 } ,
442- _ => AddressError :: OtherAddressError ,
442+ _ => AddressError :: OtherAddressErr ,
443443 }
444444 }
445445}
@@ -455,7 +455,7 @@ impl From<ParseError> for AddressError {
455455 ParseError :: WitnessProgram ( e) => AddressError :: WitnessProgram {
456456 error_message : e. to_string ( ) ,
457457 } ,
458- _ => AddressError :: OtherAddressError ,
458+ _ => AddressError :: OtherAddressErr ,
459459 }
460460 }
461461}
@@ -480,7 +480,7 @@ impl From<bdk::bitcoin::consensus::encode::Error> for TransactionError {
480480 bdk:: bitcoin:: consensus:: encode:: Error :: UnsupportedSegwitFlag ( flag) => {
481481 TransactionError :: UnsupportedSegwitFlag { flag }
482482 }
483- _ => TransactionError :: OtherTransactionError ,
483+ _ => TransactionError :: OtherTransactionErr ,
484484 }
485485 }
486486}
@@ -500,7 +500,7 @@ impl From<bdk::bitcoin::psbt::ExtractTxError> for ExtractTxError {
500500 bdk:: bitcoin:: psbt:: ExtractTxError :: SendingTooMuch { .. } => {
501501 ExtractTxError :: SendingTooMuch
502502 }
503- _ => ExtractTxError :: OtherExtractTransactionError ,
503+ _ => ExtractTxError :: OtherExtractTxErr ,
504504 }
505505 }
506506}
0 commit comments