remove debug log

This commit is contained in:
c9s 2020-08-04 13:59:52 +08:00
parent 52c16715fa
commit c7379e6fc0

View File

@ -69,8 +69,6 @@ func (m *StockManager) Consume(sell Stock) error {
}
sell.Quantity -= stock.Consume(sell.Quantity)
log.Infof("sell quantity: %f", sell.Quantity)
m.Stocks[idx] = stock
if math.Round(stock.Quantity*1e8) == 0.0 {