Skip to content

Commit

Permalink
clients/lighthouse-bn: Add trusted peers env var (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
marioevz authored Feb 13, 2024
1 parent 5347c9c commit c614d06
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 c614d06

Please sign in to comment.