mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐛 fixed hash loading bug
This commit is contained in:
parent
bd8bf25b08
commit
541717ef7b
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ struct User
|
|||
* @param init_pass initial password
|
||||
*/
|
||||
User(uint_fast32_t init_bal, std::string &&init_pass) : balance(init_bal), password(XXH64(init_pass.data(), init_pass.size(), 1)) {}
|
||||
User(uint_fast32_t init_bal, uint64_t init_pass) : balance(init_bal), password(init_pass) {}
|
||||
|
||||
Json::Value Serialize() const
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue