Skip to content

Adds `pending_outputs` field on mempool Storage and responds to pendi…

Sign in for the full log view
GitHub Actions / Clippy (stable) Results failed Sep 9, 2024 in 0s

Clippy (stable) Results

3 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 3
Warning 0
Note 0
Help 0

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check failure on line 56 in zebrad/src/components/mempool/pending_outputs.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (stable) Results

methods `prune` and `len` are never used

error: methods `prune` and `len` are never used
  --> zebrad/src/components/mempool/pending_outputs.rs:56:12
   |
15 | impl PendingOutputs {
   | ------------------- methods in this implementation
...
56 |     pub fn prune(&mut self) {
   |            ^^^^^
...
61 |     pub fn len(&self) -> usize {
   |            ^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

Check failure on line 56 in zebrad/src/components/mempool/pending_outputs.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (stable) Results

methods `prune` and `len` are never used

error: methods `prune` and `len` are never used
  --> zebrad/src/components/mempool/pending_outputs.rs:56:12
   |
15 | impl PendingOutputs {
   | ------------------- methods in this implementation
...
56 |     pub fn prune(&mut self) {
   |            ^^^^^
...
61 |     pub fn len(&self) -> usize {
   |            ^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

Check failure on line 56 in zebrad/src/components/mempool/pending_outputs.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (stable) Results

methods `prune` and `len` are never used

error: methods `prune` and `len` are never used
  --> zebrad/src/components/mempool/pending_outputs.rs:56:12
   |
15 | impl PendingOutputs {
   | ------------------- methods in this implementation
...
56 |     pub fn prune(&mut self) {
   |            ^^^^^
...
61 |     pub fn len(&self) -> usize {
   |            ^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`