Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue when theres nothing new to learn from a peer #3299

Open
wants to merge 1 commit into
base: albatross
Choose a base branch
from

Fix issue when theres nothing new to learn from a peer

eaf5bc6
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Fix issue when theres nothing new to learn from a peer #3299

Fix issue when theres nothing new to learn from a peer
eaf5bc6
Select commit
Loading
Failed to load commit list.
GitHub Actions / Clippy Report succeeded Feb 21, 2025 in 0s

Clippy Report

1 warning

Details

Results

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

Versions

  • rustc 1.85.0 (4d91de4e4 2025-02-17)
  • cargo 1.85.0 (d73d2caf9 2024-12-31)
  • clippy 0.1.85 (4d91de4e48 2025-02-17)

Annotations

Check warning on line 323 in rpc-interface/src/types.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Report

useless conversion to the same type: `nimiq_block::MicroJustification`

warning: useless conversion to the same type: `nimiq_block::MicroJustification`
   --> rpc-interface/src/types.rs:323:57
    |
323 |                 justification: micro_block.justification.map(Into::into),
    |                                                         ^^^^^^^^^^^^^^^^ help: consider removing
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
    = note: `#[warn(clippy::useless_conversion)]` on by default