mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 20:47:10 +11:00
fixed major sendfunds bug
This commit is contained in:
parent
2ccb18345f
commit
79f388af72
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ int_fast8_t Bank::SendFunds(const std::string &a_name, const std::string &b_name
|
||||||
}
|
}
|
||||||
}))
|
}))
|
||||||
{
|
{
|
||||||
if (state)
|
if (state > 0)
|
||||||
{
|
{
|
||||||
//if B does exist
|
//if B does exist
|
||||||
if (users.modify_if(b_name, [amount](User &b) {
|
if (users.modify_if(b_name, [amount](User &b) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue