From 8c8ee597c560c8d4283c0fda8da709b0bdcaeb46 Mon Sep 17 00:00:00 2001 From: lucas Date: Tue, 6 Jul 2021 14:42:47 +0800 Subject: [PATCH] fix ShowTraceLog (#1354) --- txnpool/common/txnpool_common.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/txnpool/common/txnpool_common.go b/txnpool/common/txnpool_common.go index c9c0713d6..47d4f23dc 100644 --- a/txnpool/common/txnpool_common.go +++ b/txnpool/common/txnpool_common.go @@ -184,8 +184,8 @@ func GetOngBalance(account common.Address) (*big.Int, error) { func ShowTraceLog(format string, a ...interface{}) { if config.DefConfig.Common.TraceTxPool { - log.Infof(format, a) + log.Infof(format, a...) } else { - log.Debugf(format, a) + log.Debugf(format, a...) } }