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 d98adeb commit 9ddbe9fCopy full SHA for 9ddbe9f
lightning/src/ln/channel.rs
@@ -6365,8 +6365,10 @@ impl<SP: Deref> FundedChannel<SP> where
6365
6366
#[cfg(any(test, fuzzing))]
6367
{
6368
- *self.funding.next_local_commitment_tx_fee_info_cached.lock().unwrap() = None;
6369
- *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;
6370
+ *funding.next_remote_commitment_tx_fee_info_cached.lock().unwrap() = None;
6371
+ }
6372
}
6373
6374
match &self.context.holder_signer {
0 commit comments