Skip to content

Commit

Permalink
[coinex] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bigscoop committed Dec 2, 2024
1 parent 757a96b commit d3cb352
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public Collection<Order> getOrder(OrderQueryParams... orderQueryParams) throws I
OrderQueryParamInstrument params = (OrderQueryParamInstrument) orderQueryParams[0];

try {
CoinexOrder gateioOrder = orderStatus(params.getInstrument(), params.getOrderId());
return Collections.singletonList(CoinexAdapters.toOrder(gateioOrder));
CoinexOrder order = orderStatus(params.getInstrument(), params.getOrderId());
return Collections.singletonList(CoinexAdapters.toOrder(order));
} catch (CoinexException e) {
throw CoinexErrorAdapter.adapt(e);
}
Expand Down

0 comments on commit d3cb352

Please sign in to comment.