mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-17 00:47:03 +00:00
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…
x
Reference in New Issue
Block a user