@@ -201,8 +201,9 @@ impl fmt::Display for GetBlockchainInfoError {
201
201
202
202
match * self {
203
203
Chain ( ref e) => write_err ! ( f, "conversion of the `chain` field failed" ; e) ,
204
- BestBlockHash ( ref e) =>
205
- write_err ! ( f, "conversion of the `best_block_hash` field failed" ; e) ,
204
+ BestBlockHash ( ref e) => {
205
+ write_err ! ( f, "conversion of the `best_block_hash` field failed" ; e)
206
+ }
206
207
ChainWork ( ref e) => write_err ! ( f, "conversion of the `chain_work` field failed" ; e) ,
207
208
}
208
209
}
@@ -369,10 +370,12 @@ impl fmt::Display for GetBlockVerbosityOneError {
369
370
Tx ( ref e) => write_err ! ( f, "conversion of the `tx` field failed" ; e) ,
370
371
Bits ( ref e) => write_err ! ( f, "conversion of the `bits` field failed" ; e) ,
371
372
ChainWork ( ref e) => write_err ! ( f, "conversion of the `chain_ork` field failed" ; e) ,
372
- PreviousBlockHash ( ref e) =>
373
- write_err ! ( f, "conversion of the `previous_block_hash` field failed" ; e) ,
374
- NextBlockHash ( ref e) =>
375
- write_err ! ( f, "conversion of the `next_block_hash` field failed" ; e) ,
373
+ PreviousBlockHash ( ref e) => {
374
+ write_err ! ( f, "conversion of the `previous_block_hash` field failed" ; e)
375
+ }
376
+ NextBlockHash ( ref e) => {
377
+ write_err ! ( f, "conversion of the `next_block_hash` field failed" ; e)
378
+ }
376
379
}
377
380
}
378
381
}
@@ -481,8 +484,9 @@ impl fmt::Display for GetTxOutError {
481
484
match * self {
482
485
BestBlock ( ref e) => write_err ! ( f, "conversion of the `best_block` field failed" ; e) ,
483
486
Value ( ref e) => write_err ! ( f, "conversion of the `value` field failed" ; e) ,
484
- ScriptPubkey ( ref e) =>
485
- write_err ! ( f, "conversion of the `script_pubkey` field failed" ; e) ,
487
+ ScriptPubkey ( ref e) => {
488
+ write_err ! ( f, "conversion of the `script_pubkey` field failed" ; e)
489
+ }
486
490
Address ( ref e) => write_err ! ( f, "conversion of the `address` field failed" ; e) ,
487
491
}
488
492
}
0 commit comments