diff --git a/Cargo.lock b/Cargo.lock index bc837ae..5f11be0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -79,9 +79,9 @@ dependencies = [ [[package]] name = "bitcoin" -version = "0.32.3" +version = "0.32.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0032b0e8ead7074cda7fc4f034409607e3f03a6f71d66ade8a307f79b4d99e73" +checksum = "788902099d47c8682efe6a7afb01c8d58b9794ba66c06affd81c3d6b560743eb" dependencies = [ "base58ck", "bech32", diff --git a/Cargo.toml b/Cargo.toml index 28656f1..48e5b71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ spec = "internal/config_specification.toml" [dependencies] anyhow = "1.0" -bitcoin = { version = "0.32.3", features = ["serde", "rand-std"] } +bitcoin = { version = "0.32.4", features = ["serde", "rand-std"] } bitcoin_slices = { version = "0.9", features = ["bitcoin", "sha2"] } bitcoincore-rpc = { version = "0.19.0" } configure_me = "0.4" diff --git a/src/p2p.rs b/src/p2p.rs index 3922f27..a3df9fe 100644 --- a/src/p2p.rs +++ b/src/p2p.rs @@ -390,9 +390,7 @@ enum ParsedNetworkMessage { } impl Decodable for RawNetworkMessage { - fn consensus_decode( - d: &mut D, - ) -> Result { + fn consensus_decode(d: &mut D) -> Result { let magic = Decodable::consensus_decode(d)?; let cmd = Decodable::consensus_decode(d)?; diff --git a/src/types.rs b/src/types.rs index 2d33949..b9f52d7 100644 --- a/src/types.rs +++ b/src/types.rs @@ -26,7 +26,7 @@ macro_rules! impl_consensus_encoding { impl Decodable for $thing { #[inline] - fn consensus_decode( + fn consensus_decode( d: &mut D, ) -> Result<$thing, bitcoin::consensus::encode::Error> { Ok($thing {