mirror of https://github.com/status-im/nim-eth.git
Fix missing std/times import for the metrics 0.0.1 case (#656)
This commit is contained in:
parent
11049fb87d
commit
a6942e3a30
|
@ -718,6 +718,8 @@ when defined(metrics):
|
|||
timestamp = timestamp,
|
||||
)
|
||||
else: # nim-metrics 0.0.1
|
||||
import std/times
|
||||
|
||||
method collect*(collector: Sqlite3Info): Metrics =
|
||||
result = initOrderedTable[Labels, seq[Metric]]()
|
||||
result[@[]] = @[]
|
||||
|
|
Loading…
Reference in New Issue