From 4a8e0a5a07d76f4fa4087ec74f7ad1e0efdc6bda Mon Sep 17 00:00:00 2001 From: DhananjayPurohit Date: Mon, 3 Jun 2024 14:39:05 +0530 Subject: [PATCH] debug: depositMsg for /deposit/init/pod --- clients/apps/react-app/src/main/deposit.js | 2 +- clients/libs/nodejs/deposit.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/apps/react-app/src/main/deposit.js b/clients/apps/react-app/src/main/deposit.js index b5df3b8d..cbaa89b1 100644 --- a/clients/apps/react-app/src/main/deposit.js +++ b/clients/apps/react-app/src/main/deposit.js @@ -120,7 +120,7 @@ const initPod = async (depositMsg1) => { if (torProxy) { socksAgent = { httpAgent: new SocksProxyAgent(torProxy) } } - console.log('depositMsg1 ->', depositMsg1) + const response = await axios.post(url, depositMsg1, socksAgent) if (response.status != 200) { diff --git a/clients/libs/nodejs/deposit.js b/clients/libs/nodejs/deposit.js index 46978656..eedea6fc 100644 --- a/clients/libs/nodejs/deposit.js +++ b/clients/libs/nodejs/deposit.js @@ -93,7 +93,7 @@ const init = async (clientConfig, db, wallet, token_id) => { if (torProxy) { socksAgent = { httpAgent: new SocksProxyAgent(torProxy) }; } - + console.log('depositMsg1 ->', depositMsg1) const response = await axios.post(url, depositMsg1, socksAgent); if (response.status != 200) {