Allow changing the identity PoW setting
This commit is contained in:
parent
359f858c3e
commit
18c69203d1
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user