Allow changing the identity PoW setting

This commit is contained in:
Daniel Smith 2018-07-12 15:06:35 -07:00 committed by Grégoire Henry
parent 359f858c3e
commit 18c69203d1

View File

@ -96,7 +96,7 @@ launch_node() {
if [ ! -f "$node_data_dir/identity.json" ]; then if [ ! -f "$node_data_dir/identity.json" ]; then
echo "Generating a new node identity..." echo "Generating a new node identity..."
"$node" identity generate 24. \ "$node" identity generate "${IDENTITY_POW:-26}". \
--data-dir "$node_data_dir" --data-dir "$node_data_dir"
fi fi