From 9111cc700bf0339adcf28aa936267a950a241a22 Mon Sep 17 00:00:00 2001 From: c9s Date: Sat, 10 Oct 2020 12:28:34 +0800 Subject: [PATCH] examples/max-eqmaker: fix log format call --- examples/max-eqmaker/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/max-eqmaker/main.go b/examples/max-eqmaker/main.go index 5460031cd..7bb60c460 100644 --- a/examples/max-eqmaker/main.go +++ b/examples/max-eqmaker/main.go @@ -210,7 +210,7 @@ func generateOrders(symbol, side string, price, priceTick, baseVolume fixedpoint // skip order less than 10usd 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 }