|
|
|
@ -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({
|
|
|
|
|