Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
s1fr0 committed Feb 4, 2022
1 parent 08ca99b commit 060c4f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions waku/v2/utils/time.nim
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
{.push raises: [Defect].}

proc getNanosecondTime*(t: float64): int64 =
var tns = t*100000000
var tns = int64(t*100000000)
return tns

proc getMicrosecondTime*(t: float64): int64 =
var tmus = t*1000000
return tns
var tmus = int64(t*1000000)
return tmus

proc getMillisecondTime*(t: float64): int64 =
var tms = t*1000
var tms = int64(t*1000)
return tms

0 comments on commit 060c4f8

Please sign in to comment.