Skip to content

Commit

Permalink
undo
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-dydx committed May 22, 2024
1 parent 8e89702 commit 2e9a239
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ internal class AdjustIsolatedMarginInputCalculator(val parser: ParserProtocol) {
): Map<String, Any> {
val wallet = parser.asNativeMap(state["wallet"])
val isolatedMarginAdjustment = parser.asNativeMap(state["adjustIsolatedMargin"])
val childSubaccountNumber = parser.asInt(isolatedMarginAdjustment?.get("childSubaccountNumber"))
val childSubaccountNumber = parser.asInt(isolatedMarginAdjustment?.get("ChildSubaccountNumber"))
val type = parser.asString(isolatedMarginAdjustment?.get("Type"))?.let {
IsolatedMarginAdjustmentType.valueOf(it)
} ?: IsolatedMarginAdjustmentType.Add
Expand Down

0 comments on commit 2e9a239

Please sign in to comment.