From dc14199fc0ca1cf68511436eb52c600f2cd96370 Mon Sep 17 00:00:00 2001 From: aforaleka Date: Mon, 17 Jun 2024 18:51:07 -0400 Subject: [PATCH] address feedback --- .../state/v2/supervisor/SubaccountSupervisor.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/state/v2/supervisor/SubaccountSupervisor.kt b/src/commonMain/kotlin/exchange.dydx.abacus/state/v2/supervisor/SubaccountSupervisor.kt index b20f2c1c1..80c7b38b4 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/state/v2/supervisor/SubaccountSupervisor.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/state/v2/supervisor/SubaccountSupervisor.kt @@ -813,7 +813,6 @@ internal class SubaccountSupervisor( analyticsPayload: IMap?, uiClickTimeMs: Double, fromSlTpDialog: Boolean = false, - isOrphanedTriggerOrder: Boolean = false, ): HumanReadableCancelOrderPayload { val clientId = payload.clientId val string = Json.encodeToString(payload) @@ -909,7 +908,7 @@ internal class SubaccountSupervisor( val analyticsPayload = analyticsUtils.cancelOrderAnalyticsPayload(payload, existingOrder, fromSlTpDialog = false, isOrphanedTriggerOrder) val uiClickTimeMs = trackOrderClick(analyticsPayload, AnalyticsEvent.TradeCancelOrderClick) - return submitCancelOrder(orderId, marketId, callback, payload, analyticsPayload, uiClickTimeMs, false, isOrphanedTriggerOrder) + return submitCancelOrder(orderId, marketId, callback, payload, analyticsPayload, uiClickTimeMs) } internal fun commitTriggerOrders(