valmon: fix `--validator-monitor-totals` feature (#3286)
Else log size explodes for machines with many validators
This commit is contained in:
parent
142e0ea163
commit
167068e739
|
@ -301,7 +301,7 @@ proc init*(T: type BeaconNode,
|
|||
|
||||
let
|
||||
validatorMonitor = newClone(ValidatorMonitor.init(
|
||||
config.validatorMonitorAuto))
|
||||
config.validatorMonitorAuto, config.validatorMonitorTotals))
|
||||
|
||||
for key in config.validatorMonitorPubkeys:
|
||||
validatorMonitor[].addMonitor(key, none(ValidatorIndex))
|
||||
|
|
Loading…
Reference in New Issue