diff options
Diffstat (limited to 'src/utils/sha256.cpp')
-rw-r--r-- | src/utils/sha256.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/sha256.cpp b/src/utils/sha256.cpp index 82d1fc5c..ffb1686b 100644 --- a/src/utils/sha256.cpp +++ b/src/utils/sha256.cpp @@ -269,7 +269,7 @@ std::string SHA256Hash(const char *src, int len) return hash; } -std::string sha256(const std::string& string) +std::string sha256(const std::string &string) { return SHA256Hash(string.c_str(), string.length()); } |