Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
getChannel: ['peerChannel', ({peerChannel}, cbk) => {
return getChannel({lnd, id: peerChannel}, cbk);
}],
return asyncMap(localChannels, (channel, cbk) => {
return getChannel({lnd, id: channel.id}, cbk);
},
cbk);