paid-services 5.0.2 → 5.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Versions
2
2
 
3
- ## Version 5.0.2
3
+ ## Version 5.0.3
4
4
 
5
5
  - `createGroupChannel`, `joinGroupChannel`, `manageGroupJoin`: Double check
6
6
  open channel acceptance when peering
package/package.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "ecpair": "2.1.0",
17
17
  "goldengate": "12.0.5",
18
18
  "invoices": "2.2.3",
19
- "ln-service": "56.2.0",
19
+ "ln-service": "56.3.0",
20
20
  "ln-sync": "5.1.0",
21
21
  "psbt": "2.7.2",
22
22
  "p2tr": "1.3.3",
@@ -47,5 +47,5 @@
47
47
  "integration-tests": "tap -j 2 --branches=1 --functions=1 --lines=1 --statements=1 -t 180 test/integration/*.js",
48
48
  "test": "tap --branches=1 --functions=1 --lines=1 --statements=1 -t 60 test/actions/*.js test/balanced/*.js test/capacity/*.js test/client/*.js test/config/*.js test/p2p/*.js test/records/*.js test/respond/*.js test/server/*.js test/swaps/*.js test/services/*.js test/trades/*.js"
49
49
  },
50
- "version": "5.0.2"
50
+ "version": "5.0.3"
51
51
  }
@@ -150,6 +150,10 @@ module.exports = ({lnd, logger, nodes}, cbk) => {
150
150
  'getPeered',
151
151
  ({getChannels, getNodes, getPeered}, cbk) =>
152
152
  {
153
+ if (!getNodes.filter(n => !!n).length) {
154
+ return cbk([404, 'FailedToFindSellerNodeDetails']);
155
+ }
156
+
153
157
  const ids = getChannels.channels.map(n => n.partner_public_key);
154
158
 
155
159
  return asyncEach(getNodes, (node, cbk) => {