Philipp15b / go-steam

Steam's protocol in Go to allow automation of different actions on the Steam network without running an actual Steam client. Includes APIs for friends, chatting, trading, trade offers and TF2 crafting.
https://pkg.go.dev/github.com/Philipp15b/go-steam/v3
Other
387 stars 131 forks source link

fix GetFullInventory fails to load huge inventories #129

Closed ktcf closed 6 months ago

ktcf commented 2 years ago

There were 2 variables next. One is local to the loop and another in the outer scope. On every iteration, starting from the second, latest would become equal to the outer next (which was always nil) and fail immediately.