CancelOrdersByClientIds: error on dex failure (#253)
This instruction currently returns Ok even if an order cancellation fails. In most cases this is the desired behavior, since the most common error is that the order no longer exists. However, for other errors, we should return the error instead of Ok since the cancellation removes the order from the order book, and that partial state update is no longer valid.
Y
Yuhan Fang committed
737c4ba141417a051556dc49ea3d31ea0f4b7327
Parent: 0c23a51
Committed by GitHub <noreply@github.com>
on 8/19/2022, 7:17:09 PM