Skip to content

Commit

Permalink
Merge PR: change elapsedTime format ms (#1582)
Browse files Browse the repository at this point in the history
  • Loading branch information
BananaLF authored Feb 22, 2022
1 parent 24a1058 commit 34d39fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/tendermint/trace/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (t *Tracer) Format() string {
t.elapsedTime = now.Sub(t.startTime)
return fmt.Sprintf("%s<%dms>",
t.name,
t.elapsedTime,
t.elapsedTime.Milliseconds(),
)
}

Expand All @@ -124,7 +124,7 @@ func (t *Tracer) Format() string {
t.elapsedTime = now.Sub(t.startTime)
info := fmt.Sprintf("%s<%dms>",
t.name,
t.elapsedTime,
t.elapsedTime.Milliseconds(),
)

for i := range t.pins {
Expand Down

0 comments on commit 34d39fe

Please sign in to comment.