fix fee calculation

This commit is contained in:
c9s 2020-08-05 20:07:53 +08:00
parent 78be592fee
commit 80f50ecb19

View File

@ -98,7 +98,6 @@ func (m *StockManager) consume(sell Stock) error {
m.mu.Lock()
defer m.mu.Unlock()
if len(m.Stocks) == 0 {
m.PendingSells = append(m.PendingSells, sell)
return nil