Skip to content

Commit

Permalink
Add comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentwschau committed Nov 27, 2023
1 parent 8683a32 commit 1462120
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ BEGIN
order_uuid = NULL;
subaccount_uuid = dydx_uuid_from_subaccount_id(jsonb_extract_path(order_, 'liquidated'));
order_client_metadata = NULL;
/** Liquidation order proto has an isBuy property rather than a side property **/
order_side = CASE WHEN (order_->'isBuy')::bool THEN 'BUY' ELSE 'SELL' END;
END IF;

Expand Down

0 comments on commit 1462120

Please sign in to comment.