PyLOB icon indicating copy to clipboard operation
PyLOB copied to clipboard

Possible Bug

Open jayd3e opened this issue 9 years ago • 1 comments

I'm pretty sure the ordering here is incorrect. I believe the tailOrder is getting assigned too early, and the prevOrder would then point to the same order. It should instead be something like:

orderList.tailOrder.nextOrder = order
order.prevOrder = orderList.tailOrder

orderList.tailOrder = order
order.nextOrder = None

Right?

jayd3e avatar Nov 25 '16 21:11 jayd3e

Yep, looks like you're right. Do you fancy submitting a fix?

DrAshBooth avatar Nov 28 '16 21:11 DrAshBooth