Fix Usdc.Value to amount

This commit is contained in:
2025-10-05 01:53:50 +07:00
parent de0d042254
commit 3581607375
2 changed files with 2 additions and 2 deletions

View File

@@ -418,7 +418,7 @@ namespace Managing.Application.ManageBot
}
}
var usdcValue = usdcBalance?.Value ?? 0m;
var usdcValue = usdcBalance?.Amount ?? 0m;
var available = usdcValue - totalAllocatedForAccount;
return available < 0m ? 0m : available;
});