Skip to content

Commit

Permalink
clients/lighthouse-bn: Add trusted peers env var (ethereum#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
marioevz authored and Eikix committed Mar 1, 2024
1 parent 7261ccb commit af97b26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clients/lighthouse-bn/lighthouse_bn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ if [[ "$HIVE_ETH2_BEACON_NODE_INDEX" != "" ]]; then
fi
fi

if [[ "$HIVE_ETH2_TRUSTED_PEER_IDS" != "" ]]; then
trustedpeers="$trustedpeers,$HIVE_ETH2_TRUSTED_PEER_IDS"
fi

LOG=info
case "$HIVE_LOGLEVEL" in
0|1) LOG=error ;;
Expand Down

0 comments on commit af97b26

Please sign in to comment.