Skip to content

Commit

Permalink
uncomment JWT section (#6)
Browse files Browse the repository at this point in the history
remove 0x from JWT secret
  • Loading branch information
Rjected committed Apr 3, 2023
1 parent c6d4c0e commit f4db091
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions clients/reth/reth.sh
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,11 @@ set -ex
FLAGS="$FLAGS --http --http.addr=0.0.0.0 --http.api=admin,debug,eth,net"
#FLAGS="$FLAGS --ws"

# TODO
#if [ "$HIVE_TERMINAL_TOTAL_DIFFICULTY" != "" ]; then
# JWT_SECRET="0x7365637265747365637265747365637265747365637265747365637265747365"
# echo -n $JWT_SECRET > /jwt.secret
# FLAGS="$FLAGS --authrpc.addr=0.0.0.0 --authrpc.jwtsecret=/jwt.secret"
#fi
if [ "$HIVE_TERMINAL_TOTAL_DIFFICULTY" != "" ]; then
JWT_SECRET="7365637265747365637265747365637265747365637265747365637265747365"
echo -n $JWT_SECRET > /jwt.secret
FLAGS="$FLAGS --authrpc.addr=0.0.0.0 --authrpc.jwtsecret=/jwt.secret"
fi

# Configure NAT
FLAGS="$FLAGS --nat none"
Expand Down

0 comments on commit f4db091

Please sign in to comment.