Skip to content

Commit 2242de1

Browse files
committed
Merge bitcoin/bitcoin#26394: Fix typo in comment SHA256->SHA512
0cc23fc Fix typo in comment SHA256->SHA512 (Elichai Turkel) Pull request description: The comment says it's the SHA-256 state, while it's actually the SHA-512 state ACKs for top commit: andrewtoth: ACK 0cc23fc aureleoules: ACK 0cc23fc Tree-SHA512: 4e390ceefb847d3bbe4f5caab390a4fdd14892fe443f58c32b08b3444fccd611cff22938c3dfa611dfd2497736f779fae4165497b4208e48aa8fc9d2236f943b
2 parents ec92d23 + 0cc23fc commit 2242de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/crypto/sha512.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ void inline Round(uint64_t a, uint64_t b, uint64_t c, uint64_t& d, uint64_t e, u
3030
h = t1 + t2;
3131
}
3232

33-
/** Initialize SHA-256 state. */
33+
/** Initialize SHA-512 state. */
3434
void inline Initialize(uint64_t* s)
3535
{
3636
s[0] = 0x6a09e667f3bcc908ull;

0 commit comments

Comments
 (0)