Skip to content

Commit

Permalink
Bump bitcoin to 0.32.4
Browse files Browse the repository at this point in the history
  • Loading branch information
romanz committed Oct 29, 2024
1 parent da934fb commit bd6f93a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 1 addition & 3 deletions src/p2p.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,9 +390,7 @@ enum ParsedNetworkMessage {
}

impl Decodable for RawNetworkMessage {
fn consensus_decode<D: bitcoin::io::BufRead + ?Sized>(
d: &mut D,
) -> Result<Self, encode::Error> {
fn consensus_decode<D: bitcoin::io::Read + ?Sized>(d: &mut D) -> Result<Self, encode::Error> {
let magic = Decodable::consensus_decode(d)?;
let cmd = Decodable::consensus_decode(d)?;

Expand Down
2 changes: 1 addition & 1 deletion src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ macro_rules! impl_consensus_encoding {

impl Decodable for $thing {
#[inline]
fn consensus_decode<D: io::BufRead + ?Sized>(
fn consensus_decode<D: io::Read + ?Sized>(
d: &mut D,
) -> Result<$thing, bitcoin::consensus::encode::Error> {
Ok($thing {
Expand Down

0 comments on commit bd6f93a

Please sign in to comment.