@@ -38,7 +38,7 @@ impl fmt::Display for GetBlockVerbosityOneError {
3838 Hash ( ref e) => write_err ! ( f, "conversion of the `hash` field failed" ; e) ,
3939 Tx ( ref e) => write_err ! ( f, "conversion of the `tx` field failed" ; e) ,
4040 Bits ( ref e) => write_err ! ( f, "conversion of the `bits` field failed" ; e) ,
41- ChainWork ( ref e) => write_err ! ( f, "conversion of the `chain_ork ` field failed" ; e) ,
41+ ChainWork ( ref e) => write_err ! ( f, "conversion of the `chain_work ` field failed" ; e) ,
4242 PreviousBlockHash ( ref e) =>
4343 write_err ! ( f, "conversion of the `previous_block_hash` field failed" ; e) ,
4444 NextBlockHash ( ref e) =>
@@ -172,7 +172,7 @@ impl fmt::Display for GetBlockHeaderVerboseError {
172172 Numeric ( ref e) => write_err ! ( f, "numeric" ; e) ,
173173 Hash ( ref e) => write_err ! ( f, "conversion of the `hash` field failed" ; e) ,
174174 MerkleRoot ( ref e) => write_err ! ( f, "conversion of the `merkle_root` field failed" ; e) ,
175- Bits ( ref e) => write_err ! ( f, "conversion of the `bit ` field failed" ; e) ,
175+ Bits ( ref e) => write_err ! ( f, "conversion of the `bits ` field failed" ; e) ,
176176 ChainWork ( ref e) => write_err ! ( f, "conversion of the `chain_work` field failed" ; e) ,
177177 PreviousBlockHash ( ref e) =>
178178 write_err ! ( f, "conversion of the `previous_bock_hash` field failed" ; e) ,
@@ -344,7 +344,7 @@ impl std::error::Error for MapMempoolEntryError {
344344 }
345345}
346346
347- /// Error when converting a `Mem ` type into the model type.
347+ /// Error when converting a `MempoolEntry ` type into the model type.
348348#[ derive( Debug ) ]
349349pub enum MempoolEntryError {
350350 /// Conversion of numeric type to expected type failed.
@@ -392,15 +392,15 @@ impl std::error::Error for MempoolEntryError {
392392 }
393393}
394394
395- /// Error when converting a `MempoolEntryFeesError ` type into the model type.
395+ /// Error when converting a `MempoolEntryFees ` type into the model type.
396396#[ derive( Debug ) ]
397397pub enum MempoolEntryFeesError {
398398 /// Conversion of the `base` field failed.
399399 Base ( ParseAmountError ) ,
400400 /// Conversion of the `modified` field failed.
401401 Modified ( ParseAmountError ) ,
402402 /// Conversion of the `ancestor` field failed.
403- MempoolEntry ( ParseAmountError ) ,
403+ Ancestor ( ParseAmountError ) ,
404404 /// Conversion of the `descendant` field failed.
405405 Descendant ( ParseAmountError ) ,
406406}
@@ -412,7 +412,7 @@ impl fmt::Display for MempoolEntryFeesError {
412412 match * self {
413413 E :: Base ( ref e) => write_err ! ( f, "conversion of the `base` field failed" ; e) ,
414414 E :: Modified ( ref e) => write_err ! ( f, "conversion of the `modified` field failed" ; e) ,
415- E :: MempoolEntry ( ref e) => write_err ! ( f, "conversion of the `ancestor` field failed" ; e) ,
415+ E :: Ancestor ( ref e) => write_err ! ( f, "conversion of the `ancestor` field failed" ; e) ,
416416 E :: Descendant ( ref e) => write_err ! ( f, "conversion of the `descendant` field failed" ; e) ,
417417 }
418418 }
@@ -426,7 +426,7 @@ impl std::error::Error for MempoolEntryFeesError {
426426 match * self {
427427 E :: Base ( ref e) => Some ( e) ,
428428 E :: Modified ( ref e) => Some ( e) ,
429- E :: MempoolEntry ( ref e) => Some ( e) ,
429+ E :: Ancestor ( ref e) => Some ( e) ,
430430 E :: Descendant ( ref e) => Some ( e) ,
431431 }
432432 }
@@ -521,7 +521,7 @@ impl From<NumericError> for GetTxOutError {
521521 fn from ( e : NumericError ) -> Self { Self :: Numeric ( e) }
522522}
523523
524- /// Error when converting a `GetTxOut ` type into the model type.
524+ /// Error when converting a `GetTxOutSetInfo ` type into the model type.
525525#[ derive( Debug ) ]
526526pub enum GetTxOutSetInfoError {
527527 /// Conversion of numeric type to expected type failed.
@@ -538,7 +538,7 @@ impl fmt::Display for GetTxOutSetInfoError {
538538
539539 match * self {
540540 Numeric ( ref e) => write_err ! ( f, "numeric" ; e) ,
541- BestBlock ( ref e) => write_err ! ( f, "conversion of the `beast_block ` field failed" ; e) ,
541+ BestBlock ( ref e) => write_err ! ( f, "conversion of the `best_block ` field failed" ; e) ,
542542 TotalAmount ( ref e) => write_err ! ( f, "conversion of the `total_amount` field failed" ; e) ,
543543 }
544544 }
0 commit comments