ignore tmp

This commit is contained in:
c9s 2020-08-11 10:31:54 +08:00
parent 51700c951a
commit 0b0c895cd2

View File

@ -176,7 +176,7 @@ func (m *StockManager) consume(sell Stock) error {
} }
} }
if !zero(sell.Quantity) { if sell.Quantity > 0.0 {
m.PendingSells = append(m.PendingSells, sell) m.PendingSells = append(m.PendingSells, sell)
} }