diff --git a/src/currency_core/currency_format_utils.cpp b/src/currency_core/currency_format_utils.cpp index 622d40fd..23f82a8d 100644 --- a/src/currency_core/currency_format_utils.cpp +++ b/src/currency_core/currency_format_utils.cpp @@ -1334,7 +1334,7 @@ namespace currency uint64_t get_timstamp_from_word(std::string word, bool& password_used) { uint64_t count_of_weeks = tools::mnemonic_encoding::num_by_word(word); - if (count_of_weeks > WALLET_BRAIN_DATE_MAX_WEEKS_COUNT) + if (count_of_weeks >= WALLET_BRAIN_DATE_MAX_WEEKS_COUNT) { count_of_weeks -= WALLET_BRAIN_DATE_MAX_WEEKS_COUNT; password_used = true; diff --git a/src/wallet/view_iface.h b/src/wallet/view_iface.h index 1f223143..f4ad0ea3 100644 --- a/src/wallet/view_iface.h +++ b/src/wallet/view_iface.h @@ -465,6 +465,7 @@ public: BEGIN_KV_SERIALIZE_MAP() KV_SERIALIZE(pass) KV_SERIALIZE(path) + KV_SERIALIZE(seed_pass) KV_SERIALIZE(seed_phrase) END_KV_SERIALIZE_MAP() };