🐛 send funds wasnt logging correctly

This commit is contained in:
EntireTwix 2021-06-20 19:21:08 -07:00
parent f48882d446
commit bc067bafe9

View file

@ -98,7 +98,7 @@ int_fast8_t Bank::SendFunds(const std::string &a_name, const std::string &b_name
else else
{ {
a.balance -= amount; a.balance -= amount;
a.log.AddTrans(std::forward<Transaction>(temp)); a.log.AddTrans(Transaction(temp));
state = true; state = true;
} }
}); });