Skip to content

Commit db665f7

Browse files
bbjubjub2494aldoborrero
authored andcommitted
fix lighthouse args.beacon-nodes
1 parent 7cb7d25 commit db665f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/lighthouse-validator/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ in {
9090
else "--datadir %S/${user}";
9191

9292
beaconNodes =
93-
if (cfg.args.beacon-nodes != null) && (length cfg.args.beacon-nodes == 0)
93+
if (cfg.args.beacon-nodes != null) && (length cfg.args.beacon-nodes != 0)
9494
then "--beacon-nodes ${concatStringsSep "," cfg.args.beacon-nodes}"
9595
else let
9696
beaconCfg = config.services.ethereum.lighthouse-beacon.${name};

0 commit comments

Comments
 (0)