Skip to content

Commit 7183a88

Browse files
bincode serialization
1 parent 9245c02 commit 7183a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/src/hash_types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ use hashes::{sha256, sha256d, hash160, hash_newtype, Hash, hash_newtype_no_ord};
275275
impl ConfirmedHashHashedWithProRegTx {
276276
/// Create a ConfirmedHash from a string
277277
pub fn from_hex(s: &str) -> Result<ConfirmedHashHashedWithProRegTx, Error> {
278-
Ok(Self(sha256d::Hash::from_str(s)?))
278+
Ok(Self(sha256::Hash::from_str(s)?))
279279
}
280280

281281
/// Convert a ConfirmedHash to a string

0 commit comments

Comments
 (0)