mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐎 forgot GetBal & VerifyPass in last commit
This commit is contained in:
parent
030d5d4a3e
commit
1d5f93479b
1 changed files with 0 additions and 2 deletions
|
|
@ -61,7 +61,6 @@ public:
|
||||||
*/
|
*/
|
||||||
uint_fast64_t GetBal()
|
uint_fast64_t GetBal()
|
||||||
{
|
{
|
||||||
std::lock_guard<std::mutex> lock{bal_lock};
|
|
||||||
return balance;
|
return balance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -73,7 +72,6 @@ public:
|
||||||
*/
|
*/
|
||||||
bool VerifyPassword(const std::string &attempt) //for connected services
|
bool VerifyPassword(const std::string &attempt) //for connected services
|
||||||
{
|
{
|
||||||
std::lock_guard<std::mutex> lock{pass_lock};
|
|
||||||
return (password == attempt);
|
return (password == attempt);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Loading…
Reference in a new issue