Skip to content

Commit

Permalink
add gasprice flag in start script
Browse files Browse the repository at this point in the history
  • Loading branch information
wanwiset25 committed Nov 22, 2024
1 parent b8e72b4 commit 664200b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ else
echo "No RPC API is enabled. If you wanna enable any API calls, provide values to RPC_API. Available options are admin,db,eth,debug,miner,net,shh,txpool,personal,web3,XDPoS"
fi

# Subnet gasprice config
if [[ ! -z $GASPRICE ]]; then
echo "Set Gasprice ${GASPRICE}"
params="$params --gasprice ${GASPRICE}"
else
echo "Set Gasprice default"
fi

if [ ! -d $DATA_DIR/XDC/chaindata ]
then
if test -z "$PRIVATE_KEY"
Expand Down

0 comments on commit 664200b

Please sign in to comment.