diff --git a/docker/tomochain/entrypoint.sh b/docker/tomochain/entrypoint.sh index 4ccb515748..67dc15d972 100755 --- a/docker/tomochain/entrypoint.sh +++ b/docker/tomochain/entrypoint.sh @@ -68,6 +68,11 @@ if [[ ! -z $NETWORK_ID ]]; then params="$params --networkid $NETWORK_ID" fi +# custom genesis path +if [[ ! -z $GENESIS_PATH ]]; then + genesisPath="$GENESIS_PATH" +fi + # data dir if [[ ! -d $DATA_DIR/tomo ]]; then echo "No blockchain data, creating genesis block."