This commit is contained in:
masoodafar-web
2025-11-25 03:56:45 +03:30
parent 88f38f5d8e
commit 1a0012eb86

View File

@@ -52,9 +52,11 @@ public class
var newWalletLog = new UserWalletChangeLog()
{
CurrentBalance = userWallet.Balance,
CurrentNetworkBalance = userWallet.NetworkBalance,
WalletId = userWallet.Id,
ChangeValue = -1*request.TotalAmount,
IsIncrease = false,
RefrenceId = newTransaction.Id
RefrenceId = newTransaction.Id,
};
userWallet.Balance -= request.TotalAmount;