Skip to content

Commit

Permalink
fix lighthouse args.beacon-nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
bbjubjub2494 authored and aldoborrero committed Feb 4, 2025
1 parent 7cb7d25 commit db665f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/lighthouse-validator/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ in {
else "--datadir %S/${user}";

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

0 comments on commit db665f7

Please sign in to comment.