chore: fix clippy lints

This commit is contained in:
Jose Storopoli
2024-07-30 14:43:32 -03:00
parent 82141a8201
commit 8bf8c7d080
3 changed files with 2 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ impl<I: Clone + Ord + core::fmt::Debug> SpkTxOutIndex<I> {
/// Typically, this is used in two situations:
///
/// 1. After loading transaction data from the disk, you may scan over all the txouts to restore all
/// your txouts.
/// your txouts.
/// 2. When getting new data from the chain, you usually scan it before incorporating it into your chain state.
pub fn scan(&mut self, tx: &Transaction) -> BTreeSet<I> {
let mut scanned_indices = BTreeSet::new();