summaryrefslogtreecommitdiff
path: root/src/utils/sha256.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/sha256.cpp')
-rw-r--r--src/utils/sha256.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/sha256.cpp b/src/utils/sha256.cpp
index d28fa43fb..a56f6ec9a 100644
--- a/src/utils/sha256.cpp
+++ b/src/utils/sha256.cpp
@@ -280,7 +280,7 @@ std::string SHA256Hash(const char *src, int len)
SHA256Context ctx;
SHA256Init(&ctx);
SHA256Update(&ctx, static_cast<unsigned char *>(src),
- static_casr<unsigned int>(len));
+ static_cast<unsigned int>(len));
SHA256Final(&ctx, bytehash);
// Convert it to hex
const char* hxc = "0123456789abcdef";