tor enabled output

This commit is contained in:
callebtc
2022-10-30 00:03:52 +02:00
parent 6936e801e4
commit 0285dcbddf

View File

@@ -28,6 +28,7 @@ from cashu.core.settings import (
SOCKS_HOST, SOCKS_HOST,
SOCKS_PORT, SOCKS_PORT,
VERSION, VERSION,
TOR,
) )
from cashu.wallet import migrations from cashu.wallet import migrations
from cashu.wallet.crud import ( from cashu.wallet.crud import (
@@ -402,6 +403,7 @@ async def info(ctx):
print(f"Cashu dir: {CASHU_DIR}") print(f"Cashu dir: {CASHU_DIR}")
if ENV_FILE: if ENV_FILE:
print(f"Settings: {ENV_FILE}") print(f"Settings: {ENV_FILE}")
print(f"Tor enabled: {TOR}")
if SOCKS_HOST: if SOCKS_HOST:
print(f"Socks proxy: {SOCKS_HOST}:{SOCKS_PORT}") print(f"Socks proxy: {SOCKS_HOST}:{SOCKS_PORT}")
print(f"Mint URL: {MINT_URL}") print(f"Mint URL: {MINT_URL}")