remove unnecessary `mixin` (#5310)
Nim 2.0 gets confused with the `mixin self, id` in `validator_monitor`. It looks like this is actually not needed, so removing it.
This commit is contained in:
parent
8208419f08
commit
ff037f1375
|
@ -236,7 +236,6 @@ proc addMonitor*(
|
|||
self.indices[index.get().uint64] = monitor
|
||||
|
||||
template metricId: string =
|
||||
mixin self, id
|
||||
if self.totals: total else: id
|
||||
|
||||
proc addAutoMonitor*(
|
||||
|
|
Loading…
Reference in New Issue