diff --git a/geth-poa/entrypoint.sh b/geth-poa/entrypoint.sh index 9b5f7fbc35..5c649b870a 100644 --- a/geth-poa/entrypoint.sh +++ b/geth-poa/entrypoint.sh @@ -87,7 +87,7 @@ fi if [ "$GETH_NODE_TYPE" = "bootnode" ]; then echo "Starting bootnode" - echo "$BOOT_KEY" > $GETH_DATA_DIR/boot.key + echo "$NODE_KEY" > $GETH_DATA_DIR/nodekey exec "$GETH_BIN_PATH" \ --verbosity="$GETH_VERBOSITY" \ @@ -118,7 +118,7 @@ if [ "$GETH_NODE_TYPE" = "bootnode" ]; then --pprof \ --pprof.addr="$NODE_IP" \ --pprof.port=60601 \ - --nodekey $GETH_DATA_DIR/boot.key \ + --nodekey $GETH_DATA_DIR/nodekey \ --netrestrict $NET_RESTRICT \ "$NAT_FLAG" \ --txpool.accountqueue=512 \ @@ -128,7 +128,7 @@ if [ "$GETH_NODE_TYPE" = "bootnode" ]; then elif [ "$GETH_NODE_TYPE" = "signer" ]; then echo "Starting signer node" - echo "$BOOT_KEY" > $GETH_DATA_DIR/boot.key + echo "$NODE_KEY" > $GETH_DATA_DIR/nodekey echo "BOOTNODE_ENDPOINT is set to: $BOOTNODE_ENDPOINT" GETH_PORT="${GETH_PORT:-30311}" @@ -157,7 +157,7 @@ elif [ "$GETH_NODE_TYPE" = "signer" ]; then --miner.etherbase=$BLOCK_SIGNER_ADDRESS \ --allow-insecure-unlock \ --nousb \ - --nodekey $GETH_DATA_DIR/boot.key \ + --nodekey $GETH_DATA_DIR/nodekey \ --netrestrict $NET_RESTRICT \ --metrics \ --metrics.addr="$NODE_IP" \ @@ -181,7 +181,7 @@ elif [ "$GETH_NODE_TYPE" = "signer" ]; then elif [ "$GETH_NODE_TYPE" = "member" ]; then echo "Starting member node" - echo "$BOOT_KEY" > $GETH_DATA_DIR/boot.key + echo "$NODE_KEY" > $GETH_DATA_DIR/nodekey echo "BOOTNODE_ENDPOINT is set to: $BOOTNODE_ENDPOINT" GETH_PORT="${GETH_PORT:-30311}" @@ -204,7 +204,7 @@ elif [ "$GETH_NODE_TYPE" = "member" ]; then --bootnodes $BOOTNODE_ENDPOINT \ --networkid=$CHAIN_ID \ --password="$GETH_DATA_DIR"/password \ - --nodekey $GETH_DATA_DIR/boot.key \ + --nodekey $GETH_DATA_DIR/nodekey \ --metrics \ --metrics.addr="$NODE_IP" \ --metrics.port=6060 \