We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc1814b commit 13bd5d3Copy full SHA for 13bd5d3
client/src/lib.rs
@@ -42,8 +42,10 @@ fn deserialize_hex<T: Decodable>(hex: &str) -> Result<T> {
42
let mut reader = HexIterator::new(&hex)?;
43
let object = Decodable::consensus_decode(&mut reader)?;
44
if reader.read_u8().is_ok() {
45
- Err(Error::BitcoinSerialization(bitcoin::consensus::encode::Error::ParseFailed("data not consumed entirely when explicitly deserializing")))
+ Err(Error::BitcoinSerialization(bitcoin::consensus::encode::Error::ParseFailed(
46
+ "data not consumed entirely when explicitly deserializing",
47
+ )))
48
} else {
49
Ok(object)
50
}
-}
51
+}
0 commit comments