diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/processor/wallet/account/AccountProcessor.kt b/src/commonMain/kotlin/exchange.dydx.abacus/processor/wallet/account/AccountProcessor.kt index 672db1d60..8bd017a8e 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/processor/wallet/account/AccountProcessor.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/processor/wallet/account/AccountProcessor.kt @@ -1,7 +1,6 @@ package exchange.dydx.abacus.processor.wallet.account import com.ionspin.kotlin.bignum.decimal.toBigDecimal -import exchange.dydx.abacus.output.MarginMode import exchange.dydx.abacus.processor.base.BaseProcessor import exchange.dydx.abacus.protocols.ParserProtocol import exchange.dydx.abacus.responses.SocketInfo @@ -352,14 +351,6 @@ internal open class SubaccountProcessor(parser: ParserProtocol) : BaseProcessor( return quoteBalance } - internal fun calculateMarginType( - subaccount: Map, - payload: Map, - ): MarginMode { - print("reached") - return MarginMode.CROSS - } - private fun deriveQuoteBalance(assetPositions: Map?): Double? { val usdc = parser.asNativeMap(assetPositions?.get("USDC")) return if (usdc != null) { @@ -722,7 +713,6 @@ internal class V4SubaccountsProcessor(parser: ParserProtocol) : SubaccountProces ) } modified["quoteBalance"] = calculateQuoteBalance(modified, content) - modified["marginType"] = calculateMarginType(modified, content) return modified }