Skip to content

Commit d274dce

Browse files
committed
Merge #258: cargo +nightly fmt --check --all
13bd5d3 cargo fmt (thesimplekid) Pull request description: Saw you merged #257 but figured I would run format all as you mentioned anyway. #257 (comment) ACKs for top commit: apoelstra: ACK 13bd5d3 Tree-SHA512: b2dc500fc036a763a77a7340b528a5973b62d44a672bb4d0fd3bc1c42a66886d77d92f159fa8897fa037b6988f918e36174633de93dfaed19a03c3f4517c91c0
2 parents cc1814b + 13bd5d3 commit d274dce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

client/src/lib.rs

+4-2
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+
}

0 commit comments

Comments
 (0)