Skip to content

Commit 02e8575

Browse files
committed
Merge rust-bitcoin#4596: Correct hash algorithm name in RIPEMD160 documentation
e9f7ae4 Correct hash algorithm name in RIPEMD160 documentation (David Klank) Pull request description: Corrected the documentation comment for the `new()` method in the RIPEMD160 `HashEngine` struct. The comment incorrectly stated it constructs a "SHA256 hash engine" when it actually constructs a RIPEMD160 hash engine. ACKs for top commit: tcharding: ACK e9f7ae4 apoelstra: ACK e9f7ae4; successfully ran local tests Tree-SHA512: 3935f502709dc8ec570d7f112efbc4d55349f7072342ad0278ee2525bbf39ca1d7f60bcef0ad0a3bdcf3e67b2548d89bc01435532d848595a9824f4ec9e74bb7
2 parents 4213d4a + e9f7ae4 commit 02e8575

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hashes/src/ripemd160/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub struct HashEngine {
6262
}
6363

6464
impl HashEngine {
65-
/// Constructs a new SHA256 hash engine.
65+
/// Constructs a new RIPEMD160 hash engine.
6666
pub const fn new() -> Self {
6767
Self {
6868
h: [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0],

0 commit comments

Comments
 (0)