diff --git a/ArchiSteamFarm/Steam/Exchange/Trading.cs b/ArchiSteamFarm/Steam/Exchange/Trading.cs index 022524ac8..d75c3ee53 100644 --- a/ArchiSteamFarm/Steam/Exchange/Trading.cs +++ b/ArchiSteamFarm/Steam/Exchange/Trading.cs @@ -181,9 +181,7 @@ public sealed class Trading : IDisposable { } // Otherwise, fill the missing holes in our data if needed, since we actually had zeros there - byte missingAmounts = (byte) (afterAmounts.Count - beforeAmounts.Count); - - for (byte i = 0; i < missingAmounts; i++) { + while (afterAmounts.Count > beforeAmounts.Count) { beforeAmounts.Insert(0, 0); }