Remove the --nat:none forcing in Docker

This commit is contained in:
Zahary Karadjov 2019-11-01 17:15:53 +02:00
parent 55dac3e36f
commit 8124dbb93c
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
1 changed files with 2 additions and 10 deletions

View File

@ -9,13 +9,5 @@
killall p2pd
rm -rf /tmp/*
if [[ "$2" == "" ]]; then
# TODO This is a normal execution of a long-running testnet node.
# If the nat is enabled at the moment, the node fails to start.
beacon_node --nat:none
else
# This is a one-off command such as createTestnet.
# We cannot reuse the command above, because the --nat option
# is not compatible with most of the commands.
beacon_node "$@"
fi
beacon_node "$@"