stop using template which Nim 2.0.10 will apparently make recursive
This commit is contained in:
parent
9a3b1f7ab9
commit
b7f3f0c2e8
|
@ -777,8 +777,7 @@ proc cmdValidatorPerf(conf: DbConf, cfg: RuntimeConfig) =
|
|||
indices
|
||||
case info.kind
|
||||
of EpochInfoFork.Phase0:
|
||||
template info: untyped = info.phase0Data
|
||||
for i, s in info.validators:
|
||||
for i, s in info.phase0Data.validators:
|
||||
let perf = addr perfs[i]
|
||||
if RewardFlags.isActiveInPreviousEpoch in s.flags:
|
||||
if s.is_previous_epoch_attester.isSome():
|
||||
|
|
Loading…
Reference in New Issue