Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["dash", "hashes", "internals", "fuzz", "rpc-client", "rpc-json", "rpc
resolver = "2"

[workspace.package]
version = "0.39.4"
version = "0.39.6"

[patch.crates-io.dashcore_hashes]
path = "hashes"
Expand Down
1 change: 1 addition & 0 deletions dash/src/consensus/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,7 @@ impl_vec!(TxIn);
impl_vec!(Vec<u8>);
impl_vec!(u16);
impl_vec!(u32);
impl_vec!(i32);
impl_vec!(u64);
impl_vec!(TapLeafHash);
impl_vec!(VarInt);
Expand Down
7 changes: 1 addition & 6 deletions dash/src/network/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,7 @@ impl Network {
hex::decode("00000bafbc94add76cb75e2ec92894837288a481e5c005f6563d91623bf8bc2c")
.expect("expected valid hex");
block_hash.reverse();
Some(BlockHash::from_byte_array(
hex::decode("00000bafbc94add76cb75e2ec92894837288a481e5c005f6563d91623bf8bc2c")
.expect("expected valid hex")
.try_into()
.expect("expected 32 bytes"),
))
Some(BlockHash::from_byte_array(block_hash.try_into().expect("expected 32 bytes")))
}
Network::Devnet => None,
Network::Regtest => None,
Expand Down
2 changes: 1 addition & 1 deletion dash/src/network/message_qrinfo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ impl Decodable for QRInfo {
pub struct QuorumSnapshot {
pub skip_list_mode: MNSkipListMode,
pub active_quorum_members: Vec<bool>, // Bitset, length = (active_quorum_members_count + 7) / 8
pub skip_list: Vec<u32>, // Array of uint32_t
pub skip_list: Vec<i32>, // Array of uint32_t
}

impl Display for QuorumSnapshot {
Expand Down
Loading