From 8c034da5e385c3202951b8199ac4c3f2d01bb576 Mon Sep 17 00:00:00 2001 From: haipo yang Date: Tue, 12 Sep 2017 18:52:23 +0800 Subject: [PATCH] fix bug --- matchengine/me_market.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matchengine/me_market.c b/matchengine/me_market.c index 53b92a2a..dd618bf5 100644 --- a/matchengine/me_market.c +++ b/matchengine/me_market.c @@ -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);