Verified Commit 4f843485 authored by likewhoa's avatar likewhoa
Browse files

Remove dup code that caused conflict with Tor

parent caf33061
......@@ -388,11 +388,6 @@ onion() {
echo "Mempool hidden service address = $V3_ADDR_MEMPOOL"
fi
if [ "$MEMPOOL_INSTALL" == "on" ]; then
V3_ADDR_MEMPOOL=$( docker exec -it tor cat /var/lib/tor/hsv3mempool/hostname )
echo "Mempool hidden service address = $V3_ADDR_MEMPOOL"
fi
V3_ADDR=$( docker exec -it tor cat /var/lib/tor/hsv3dojo/hostname )
echo "Maintenance Tool hidden service address = $V3_ADDR"
......
......@@ -41,13 +41,6 @@ if [ "$WHIRLPOOL_INSTALL" == "on" ]; then
tor_options+=(--HiddenServiceDirGroupReadable 1)
fi
if [ "$MEMPOOL_INSTALL" == "on" ]; then
tor_options+=(--HiddenServiceDir /var/lib/tor/hsv3mempool)
tor_options+=(--HiddenServiceVersion 3)
tor_options+=(--HiddenServicePort "80 172.28.1.9:4080")
tor_options+=(--HiddenServiceDirGroupReadable 1)
fi
if [ "$MEMPOOL_INSTALL" == "on" ]; then
tor_options+=(--HiddenServiceDir /var/lib/tor/hsv3mempool)
tor_options+=(--HiddenServiceVersion 3)
......@@ -63,4 +56,4 @@ if [ "$TOR_USE_BRIDGES" == "on" ]; then
tor_options+=(--Bridge "$TOR_BRIDGE_3")
fi
tor "${tor_options[@]}"
tor "${tor_options[@]}"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment