Fixed #198 infinite unlock page load

Fixed #198 infinite unlock page load
pull/209/head
Shahana Farooqui 5 years ago
parent 578fe6efb7
commit b768e0be94

@ -24,13 +24,9 @@ exports.getInfo = (req, res, next) => {
message: "Fetching Info failed!",
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);
}
}
})
.catch(function (err) {
return res.status(500).json({

Loading…
Cancel
Save