diff --git a/build.gradle.kts b/build.gradle.kts index a0f496f81..e052b3a1a 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -52,7 +52,7 @@ allprojects { } group = "exchange.dydx.abacus" -version = "1.13.21" +version = "1.13.22" repositories { google() diff --git a/src/commonMain/kotlin/exchange.dydx.abacus/processor/input/TriggerOrdersInputProcessor.kt b/src/commonMain/kotlin/exchange.dydx.abacus/processor/input/TriggerOrdersInputProcessor.kt index c58206704..8053e2566 100644 --- a/src/commonMain/kotlin/exchange.dydx.abacus/processor/input/TriggerOrdersInputProcessor.kt +++ b/src/commonMain/kotlin/exchange.dydx.abacus/processor/input/TriggerOrdersInputProcessor.kt @@ -1,6 +1,5 @@ package exchange.dydx.abacus.processor.input -import exchange.dydx.abacus.calculator.v2.TriggerOrdersInputCalculatorV2 import exchange.dydx.abacus.output.input.InputType import exchange.dydx.abacus.output.input.OrderType import exchange.dydx.abacus.output.input.TriggerPrice @@ -10,7 +9,6 @@ import exchange.dydx.abacus.state.changes.StateChanges import exchange.dydx.abacus.state.internalstate.InternalAccountState import exchange.dydx.abacus.state.internalstate.InternalInputState import exchange.dydx.abacus.state.internalstate.InternalTriggerOrderState -import exchange.dydx.abacus.state.internalstate.InternalTriggerOrdersInputState import exchange.dydx.abacus.state.internalstate.safeCreate import exchange.dydx.abacus.state.model.TriggerOrdersInputField import kollections.iListOf @@ -27,7 +25,6 @@ internal interface TriggerOrdersInputProcessorProtocol { internal class TriggerOrdersInputProcessor( private val parser: ParserProtocol, - private val calculator: TriggerOrdersInputCalculatorV2 = TriggerOrdersInputCalculatorV2() ) : TriggerOrdersInputProcessorProtocol { override fun triggerOrderInput( @@ -39,8 +36,6 @@ internal class TriggerOrdersInputProcessor( ): StateChanges { if (inputState.currentType != InputType.TRIGGER_ORDERS) { inputState.currentType = InputType.TRIGGER_ORDERS - inputState.triggerOrders = InternalTriggerOrdersInputState() - calculator.calculate(inputState.triggerOrders, account, subaccountNumber) } if (type != null) { diff --git a/v4_abacus.podspec b/v4_abacus.podspec index 91384affc..eee5ac80d 100644 --- a/v4_abacus.podspec +++ b/v4_abacus.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = 'v4_abacus' - spec.version = '1.13.21' + spec.version = '1.13.22' spec.homepage = 'https://github.com/dydxprotocol/v4-abacus' spec.source = { :http=> ''} spec.authors = ''