Skip to content

Commit dc599e9

Browse files
lucas7788laizy
authored andcommitted
fix ShowTraceLog (#1354)
1 parent 2d1d7d1 commit dc599e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

txnpool/common/txnpool_common.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,8 @@ func GetOngBalance(account common.Address) (*big.Int, error) {
184184

185185
func ShowTraceLog(format string, a ...interface{}) {
186186
if config.DefConfig.Common.TraceTxPool {
187-
log.Infof(format, a)
187+
log.Infof(format, a...)
188188
} else {
189-
log.Debugf(format, a)
189+
log.Debugf(format, a...)
190190
}
191191
}

0 commit comments

Comments
 (0)