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 7a3013b commit 9707653Copy full SHA for 9707653
lightning/src/ln/channel.rs
@@ -6364,8 +6364,10 @@ impl<SP: Deref> FundedChannel<SP> where
6364
6365
#[cfg(any(test, fuzzing))]
6366
{
6367
- *self.funding.next_local_commitment_tx_fee_info_cached.lock().unwrap() = None;
6368
- *self.funding.next_remote_commitment_tx_fee_info_cached.lock().unwrap() = None;
+ for funding in core::iter::once(&mut self.funding).chain(self.pending_funding.iter_mut()) {
+ *funding.next_local_commitment_tx_fee_info_cached.lock().unwrap() = None;
6369
+ *funding.next_remote_commitment_tx_fee_info_cached.lock().unwrap() = None;
6370
+ }
6371
}
6372
6373
match &self.context.holder_signer {
0 commit comments