From b768e0be940999159381f12c39f839d3160a60e1 Mon Sep 17 00:00:00 2001 From: Shahana Farooqui Date: Wed, 23 Oct 2019 18:54:38 -0400 Subject: [PATCH] Fixed #198 infinite unlock page load Fixed #198 infinite unlock page load --- controllers/lnd/getInfo.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/controllers/lnd/getInfo.js b/controllers/lnd/getInfo.js index df12cd70..60895781 100644 --- a/controllers/lnd/getInfo.js +++ b/controllers/lnd/getInfo.js @@ -25,11 +25,7 @@ exports.getInfo = (req, res, next) => { error: (undefined === body || search_idx > -1) ? 'Error From Server!' : body.error }); } else { - if(common.selectedNode.ln_node === 'LND Testnet Remote') { - res.status(200).json({}); // URGENT TO CHECK - } else { - res.status(200).json(body); - } + res.status(200).json(body); } }) .catch(function (err) {