We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_counterparty_node_id
PublicKey
1 parent 171a51b commit 21e79c3Copy full SHA for 21e79c3
src/lib.rs
@@ -1407,9 +1407,7 @@ impl Node {
1407
for channel_id in self.chain_monitor.list_monitors() {
1408
match self.chain_monitor.get_monitor(channel_id) {
1409
Ok(monitor) => {
1410
- // unwrap safety: `get_counterparty_node_id` will always be `Some` after 0.0.110 and
1411
- // LDK Node 0.1 depended on 0.0.115 already.
1412
- let counterparty_node_id = monitor.get_counterparty_node_id().unwrap();
+ let counterparty_node_id = monitor.get_counterparty_node_id();
1413
for ldk_balance in monitor.get_claimable_balances() {
1414
total_lightning_balance_sats += ldk_balance.claimable_amount_satoshis();
1415
lightning_balances.push(LightningBalance::from_ldk_balance(
0 commit comments