Closed
Description
Describe the bug
The transaction is created, but the balance is not changed, I think that it's related to #429
To Reproduce
Steps to reproduce the behavior:
try {
DB::beginTransaction();
\App\Models\User::find(22802)->withdraw(500);
DB::commit();
} catch (\Throwable $th) {
DB::rollback();
}
Server:
- php version: 8.1
- database: mysql
- wallet version 7.3.4
- cache lock: DynamoDB
- cache wallets: array (default)