Ken преди 2 седмици
родител
ревизия
b73e90891c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Services/WithdrawService.php

+ 1 - 1
app/Services/WithdrawService.php

@@ -397,7 +397,7 @@ class WithdrawService
             'address' => $address,
             'exchange_rate' => $rate,
             'status' => 0,
-            'after_balance' => $wallet->available_balance
+            'after_balance' => bcdiv($wallet->available_balance, $rate, 2)
         ]);