diff --git a/cli.js b/cli.js index a3281b1..6608f44 100755 --- a/cli.js +++ b/cli.js @@ -1417,11 +1417,11 @@ async function init({ rpc, noteNetId, currency = 'dai', amount = '100', balanceC if (!isIpPrivate && !rpc.includes('localhost') && !privateRpc) { try { - const fetchRemoteIP = await axios.get('https://ip.tornado.cash', ipOptions); - const { country, ip } = fetchRemoteIP.data; - console.log('Your remote IP address is', ip, 'from', country + '.'); + const htmlIPInfo = await axios.get("https://check.torproject.org", ipOptions); + const ip = htmlIPInfo.data.split("Your IP address appears to be: ").pop().split("