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...) } }