REF
This commit is contained in:
parent
17e9bd30c8
commit
30c8bb2d94
@ -505,7 +505,6 @@ router.get('/getchaninfo/:chanid', async function (req, res) {
|
|||||||
|
|
||||||
if (lightningDescribeGraph && lightningDescribeGraph.edges) {
|
if (lightningDescribeGraph && lightningDescribeGraph.edges) {
|
||||||
for (const edge of lightningDescribeGraph.edges) {
|
for (const edge of lightningDescribeGraph.edges) {
|
||||||
console.log('edge.channel_id = ' + edge.channel_id);
|
|
||||||
if (edge.channel_id == req.params.chanid) {
|
if (edge.channel_id == req.params.chanid) {
|
||||||
return res.send(JSON.stringify(edge, null, 2));
|
return res.send(JSON.stringify(edge, null, 2));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user