OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6728a0
)
bug fix order table
author
shenao78
<shenao.78@163.com>
Thu, 31 Oct 2019 11:38:34 +0000
(19:38 +0800)
committer
shenao78
<shenao.78@163.com>
Thu, 31 Oct 2019 11:38:34 +0000
(19:38 +0800)
application/mov/match/order_table.go
patch
|
blob
|
history
diff --git
a/application/mov/match/order_table.go
b/application/mov/match/order_table.go
index
e0268f4
..
324aa35
100644
(file)
--- a/
application/mov/match/order_table.go
+++ b/
application/mov/match/order_table.go
@@
-43,7
+43,7
@@
func (o *OrderTable) PeekOrder(tradePair *common.TradePair) *common.Order {
}
if nextOrder != nil && o.extraDelOrderMap[nextOrder.Key()] != nil {
- o.
PopOrder(tradePair)
+ o.
orderMap[tradePair.Key()] = orders[0 : len(orders)-1]
delete(o.extraDelOrderMap, nextOrder.Key())
return o.PeekOrder(tradePair)
}