examples/max-eqmaker: fix log format call

This commit is contained in:
c9s 2020-10-10 12:28:34 +08:00
parent 52ac0b13e1
commit 9111cc700b

View File

@ -210,7 +210,7 @@ func generateOrders(symbol, side string, price, priceTick, baseVolume fixedpoint
// skip order less than 10usd // skip order less than 10usd
if volume*price.Float64() < 10.0 { if volume*price.Float64() < 10.0 {
log.Warn("amount too small (< 10usd). price=%f volume=%f amount=%f", price, volume, volume*price.Float64()) log.Warnf("amount too small (< 10usd). price=%f volume=%f amount=%f", price, volume, volume*price.Float64())
continue continue
} }