diff --git a/services/admin_service/repositories/user_wallet_history_repository.py b/services/admin_service/repositories/user_wallet_history_repository.py index 8ab3fb6..d47cc95 100644 --- a/services/admin_service/repositories/user_wallet_history_repository.py +++ b/services/admin_service/repositories/user_wallet_history_repository.py @@ -202,7 +202,7 @@ class UserWalletHistoryRepository: return False # Update wallet balance and order status - wallet.balance = float(wallet.balance) + float(obj.amount) + # wallet.balance = float(wallet.balance) + float(obj.amount) obj.status = 1 # 1=completed obj.balance_after = float(wallet.balance) obj.transaction_id = transaction_id