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 f855222c0..63bef5cf2 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 @@ -564,7 +564,7 @@ internal class SubaccountSupervisor( // Derive transfer params from trade input val targetLeverage = trade?.targetLeverage ?: error("targetLeverage is null") - val usdcSize = trade.size?.usdcSize ?: error("usdcSize is null") + val usdcSize = trade.size?.usdcSize ?: error("usdcSize is null") val amountToTransfer = (usdcSize / targetLeverage).toString() val childSubaccountNumber = orderPayload.subaccountNumber