From 2628e3230dab9e87d2bee56b0d33ea3ac776f054 Mon Sep 17 00:00:00 2001 From: sairaj mote Date: Mon, 25 Oct 2021 21:05:36 +0530 Subject: [PATCH] minor bug fixes --- public/home.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/public/home.html b/public/home.html index cbe9eb1..d13cbb2 100644 --- a/public/home.html +++ b/public/home.html @@ -1206,19 +1206,20 @@ const quantity = parseFloat(getRef('get_user_amount').value) try { showProcess('wallet_popup__cta_wrapper') + const proxySecret = await proxy.secret if (type === 'deposit') { const privKey = getRef('get_private_key').value; if (asset === 'FLO') { - await depositFLO(quantity, userID, privKey, await proxy.secret) + await depositFLO(quantity, userID, privKey, proxySecret) } else { - await depositRupee(quantity, userID, privKey, await proxy.secret) + await depositRupee(quantity, userID, privKey, proxySecret) } showWalletResult('success', `Sent ${asset} deposit request`, 'This may take upto 30 mins to reflect in your wallet.') } else { if (asset === 'FLO') { - await withdrawFLO(quantity, proxy.secret) + await withdrawFLO(quantity, proxySecret) } else { - await withdrawRupee(quantity, proxy.secret) + await withdrawRupee(quantity, proxySecret) } showWalletResult('success', `Sent ${asset} withdraw request`, 'This may take upto 30 mins to reflect in your wallet.') }