Skip to content

Commit

Permalink
spotlessApply
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredvu committed May 24, 2024
1 parent 6e4db3e commit ff32837
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ff32837

Please sign in to comment.