Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Commit badf7fc

Browse files
committed
Fix formatting
1 parent ce915de commit badf7fc

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

client/src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ fn deserialize_hex<T: Decodable>(hex: &str) -> Result<T> {
4242
let mut reader = HexIterator::new(&hex)?;
4343
let object = Decodable::consensus_decode(&mut reader)?;
4444
if reader.read_u8().is_ok() {
45-
Err(Error::BitcoinSerialization(bitcoin::consensus::encode::Error::ParseFailed("data not consumed entirely when explicitly deserializing")))
45+
Err(Error::BitcoinSerialization(bitcoin::consensus::encode::Error::ParseFailed(
46+
"data not consumed entirely when explicitly deserializing",
47+
)))
4648
} else {
4749
Ok(object)
4850
}
49-
}
51+
}

integration_test/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ use bitcoin::hashes::hex::{FromHex, ToHex};
2525
use bitcoin::hashes::Hash;
2626
use bitcoin::secp256k1;
2727
use bitcoin::{
28-
Address, Amount, PackedLockTime, Network, OutPoint, PrivateKey, Script, EcdsaSighashType, SignedAmount,
29-
Sequence, Transaction, TxIn, TxOut, Txid, Witness,
28+
Address, Amount, EcdsaSighashType, Network, OutPoint, PackedLockTime, PrivateKey, Script,
29+
Sequence, SignedAmount, Transaction, TxIn, TxOut, Txid, Witness,
3030
};
3131
use bitcoincore_rpc::bitcoincore_rpc_json::{
3232
GetBlockTemplateModes, GetBlockTemplateRules, ScanTxOutRequest,

0 commit comments

Comments
 (0)