Skip to content

Commit

Permalink
fix ShowTraceLog (#1354)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas7788 authored and laizy committed Jul 6, 2021
1 parent ecaafc1 commit 8c8ee59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions txnpool/common/txnpool_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
}
}

0 comments on commit 8c8ee59

Please sign in to comment.