Skip to content

Commit

Permalink
removes unused len() method
Browse files Browse the repository at this point in the history
  • Loading branch information
arya2 committed Sep 16, 2024
1 parent aed637a commit a838934
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions zebrad/src/components/mempool/pending_outputs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,4 @@ impl PendingOutputs {
pub fn prune(&mut self) {
self.0.retain(|_, chan| chan.receiver_count() > 0);
}

/// Returns the number of Outputs that are being waited on.
pub fn len(&self) -> usize {
self.0.len()
}
}

0 comments on commit a838934

Please sign in to comment.