Game.market.getOrderById returning incorrect price
iamgqr last edited by iamgqr
I'm on shard 2, and was running
Game.market.getOrderByIdon some of my sold-out orders. This is what I got:
Apparently it's returning the wrong price. The order price should be 0.019. Interestingly, it went back normal after I extended it.
Reproduce: Just run
Game.market.getOrderByIdwith an id of a 0 remaining order, no matter the order is a sell or buy order. It seems that it will always return 1/1000 of the price.
@iamgqr Thanks for the report, I'll take a look
@iamgqr The fix is ready, it will be included in the next production update. Thank you again for reporting this edge case.
The fix is deployed, marking the ticket as solved.