lightning 9.5.0 → 9.5.1

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,5 +1,9 @@
1
1
  # Versions
2
2
 
3
+ ## 9.5.1
4
+
5
+ - `getPendingChannels`: Fix returning closing transaction id for waiting close
6
+
3
7
  ## 9.5.0
4
8
 
5
9
  - `getWalletInfo`: Add support for LND 0.16.3
@@ -263,6 +263,7 @@ module.exports = args => {
263
263
  }
264
264
 
265
265
  sum[pending.channel.channel_point] = {
266
+ close_transaction_id: pending.closing_txid,
266
267
  pending_balance: Number(pending.limbo_balance),
267
268
  };
268
269
 
@@ -282,7 +283,7 @@ module.exports = args => {
282
283
  const [txId, vout] = channel.channel_point.split(outpointSeparator);
283
284
  const wait = waitClosing[channel.channel_point] || {};
284
285
 
285
- const endTx = forced.close_transaction_id;
286
+ const endTx = forced.close_transaction_id || wait.close_transaction_id;
286
287
  const pendingTokens = wait.pending_balance || forced.pending_balance;
287
288
 
288
289
  return {
package/package.json CHANGED
@@ -59,5 +59,5 @@
59
59
  "directory": "test/typescript"
60
60
  },
61
61
  "types": "index.d.ts",
62
- "version": "9.5.0"
62
+ "version": "9.5.1"
63
63
  }