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.
1 parent afe4d64 commit b4ee03dCopy full SHA for b4ee03d
lightning/src/ln/channel.rs
@@ -5866,8 +5866,7 @@ impl<SP: Deref> FundedChannel<SP> where
5866
5867
core::iter::once(&self.funding)
5868
.chain(self.pending_funding.iter())
5869
- .map(|funding| self.validate_update_add_htlc(funding, msg, fee_estimator))
5870
- .collect::<Result<(), ChannelError>>()?;
+ .try_for_each(|funding| self.validate_update_add_htlc(funding, msg, fee_estimator))?;
5871
5872
// Now update local state:
5873
self.context.next_counterparty_htlc_id += 1;
0 commit comments