aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElichai Turkel <elichai.turkel@gmail.com>2022-10-26 15:55:29 +0300
committerGitHub <noreply@github.com>2022-10-26 15:55:29 +0300
commit0cc23fc60374512b3c4be888d98a7dbdd3a0c931 (patch)
tree1dea5cedadb596316ca635d75e891c787af0721d
parent69b10212ea5370606c7a5aa500a70c36b4cbb58f (diff)
downloadbitcoin-0cc23fc60374512b3c4be888d98a7dbdd3a0c931.tar.xz
Fix typo in comment SHA256->SHA512
-rw-r--r--src/crypto/sha512.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/sha512.cpp b/src/crypto/sha512.cpp
index 85a7bbcb53..59b79609dd 100644
--- a/src/crypto/sha512.cpp
+++ b/src/crypto/sha512.cpp
@@ -30,7 +30,7 @@ void inline Round(uint64_t a, uint64_t b, uint64_t c, uint64_t& d, uint64_t e, u
h = t1 + t2;
}
-/** Initialize SHA-256 state. */
+/** Initialize SHA-512 state. */
void inline Initialize(uint64_t* s)
{
s[0] = 0x6a09e667f3bcc908ull;