Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
haipome committed Sep 12, 2017
1 parent 751f9a4 commit 8c034da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matchengine/me_market.c
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ int market_put_market_order(bool real, json_t **result, market_t *m, uint32_t us
return -1;
}

skiplist_iter *iter = skiplist_get_iterator(m->asks);
skiplist_iter *iter = skiplist_get_iterator(m->bids);
skiplist_node *node = skiplist_next(iter);
if (node == NULL) {
skiplist_release_iterator(iter);
Expand Down

0 comments on commit 8c034da

Please sign in to comment.