diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/session.h | 4 | ||||
-rw-r--r-- | src/utils.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/session.h b/src/session.h index c83be644..ef26b58e 100644 --- a/src/session.h +++ b/src/session.h @@ -170,8 +170,8 @@ public: DO_(str) { if (str == "sha512" || str == "SHA512") { hash_type = HASH_SHA512; - } else if (str == "sha512_256" || str == "SHA512_256") { - hash_type = HASH_SHA512_256; + } else if (str == "sha512_half" || str == "SHA512_Half") { + hash_type = HASH_SHA512_Half; } else { throw_(std::invalid_argument, _f("Unrecognized hash type")); } diff --git a/src/utils.h b/src/utils.h index 34308807..bc05ff4f 100644 --- a/src/utils.h +++ b/src/utils.h @@ -608,7 +608,7 @@ extern const string version; enum hash_type_t { NO_HASHES = 0, HASH_SHA512 = 1, - HASH_SHA512_256 = 2 + HASH_SHA512_Half = 2 }; } // namespace ledger |