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.
&mut
self
ChannelMonitor::filter_block
1 parent 13d5bcc commit 91b71c1Copy full SHA for 91b71c1
lightning/src/chain/channelmonitor.rs
@@ -5977,7 +5977,7 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitorImpl<Signer> {
5977
/// Filters a block's `txdata` for transactions spending watched outputs or for any child
5978
/// transactions thereof.
5979
#[rustfmt::skip]
5980
- fn filter_block<'a>(&mut self, txdata: &TransactionData<'a>) -> Vec<&'a Transaction> {
+ fn filter_block<'a>(&self, txdata: &TransactionData<'a>) -> Vec<&'a Transaction> {
5981
let mut matched_txn = new_hash_set();
5982
txdata.iter().filter(|&&(_, tx)| {
5983
let mut matches = self.spends_watched_output(tx);
0 commit comments