From c614d062adad4be3c6e6b7004841e78f62c5d5f8 Mon Sep 17 00:00:00 2001 From: Mario Vega Date: Tue, 13 Feb 2024 10:37:50 -0600 Subject: [PATCH] clients/lighthouse-bn: Add trusted peers env var (#908) --- clients/lighthouse-bn/lighthouse_bn.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clients/lighthouse-bn/lighthouse_bn.sh b/clients/lighthouse-bn/lighthouse_bn.sh index dea46b4ec3..398434b62c 100755 --- a/clients/lighthouse-bn/lighthouse_bn.sh +++ b/clients/lighthouse-bn/lighthouse_bn.sh @@ -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 ;;