Skip to content

refactor(esplora_ext): rename scan_txs to sync and scan_txs_with_keyc… #997

refactor(esplora_ext): rename scan_txs to sync and scan_txs_with_keyc…

refactor(esplora_ext): rename scan_txs to sync and scan_txs_with_keyc… #997

GitHub Actions / clippy failed Dec 29, 2023 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check failure on line 173 in crates/chain/src/spk_txout_index.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unnecessary map of the identity function

error: unnecessary map of the identity function
   --> crates/chain/src/spk_txout_index.rs:172:28
    |
172 |               .get(&outpoint)
    |  ____________________________^
173 | |             .map(|(spk_i, txout)| (spk_i, txout))
    | |_________________________________________________^ help: remove the call to `map`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_identity
    = note: `-D clippy::map-identity` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::map_identity)]`