update
This commit is contained in:
@@ -52,9 +52,11 @@ public class
|
|||||||
var newWalletLog = new UserWalletChangeLog()
|
var newWalletLog = new UserWalletChangeLog()
|
||||||
{
|
{
|
||||||
CurrentBalance = userWallet.Balance,
|
CurrentBalance = userWallet.Balance,
|
||||||
|
CurrentNetworkBalance = userWallet.NetworkBalance,
|
||||||
|
WalletId = userWallet.Id,
|
||||||
ChangeValue = -1*request.TotalAmount,
|
ChangeValue = -1*request.TotalAmount,
|
||||||
IsIncrease = false,
|
IsIncrease = false,
|
||||||
RefrenceId = newTransaction.Id
|
RefrenceId = newTransaction.Id,
|
||||||
};
|
};
|
||||||
userWallet.Balance -= request.TotalAmount;
|
userWallet.Balance -= request.TotalAmount;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user