Fix to-fast-edit guard case
parent
d280a592b1
commit
3a0987e0be
|
@ -1038,7 +1038,7 @@ async def handle_order_updates(
|
||||||
txid
|
txid
|
||||||
|
|
||||||
# we throttle too-fast-requests on the ems side
|
# we throttle too-fast-requests on the ems side
|
||||||
or (txid and isinstance(txid, TooFastEdit))
|
and not isinstance(txid, TooFastEdit)
|
||||||
):
|
):
|
||||||
# client was editting too quickly
|
# client was editting too quickly
|
||||||
# so we instead cancel this order
|
# so we instead cancel this order
|
||||||
|
|
Loading…
Reference in New Issue