Skip to content

refactor(chain)!: use Amount for DescriptorExt::dust_value() #1192

refactor(chain)!: use Amount for DescriptorExt::dust_value()

refactor(chain)!: use Amount for DescriptorExt::dust_value() #1192

GitHub Actions / Clippy Results failed Dec 8, 2024 in 0s

Clippy Results

1 error

Details

Results

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

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check failure on line 1497 in crates/wallet/src/wallet/mod.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Results

type `bitcoin::Amount` cannot be dereferenced

error[E0614]: type `bitcoin::Amount` cannot be dereferenced
    --> crates/wallet/src/wallet/mod.rs:1495:36
     |
1495 |                           available: *remaining_amount
     |  ____________________________________^
1496 | |                             .checked_sub(*change_fee)
1497 | |                             .unwrap_or_default(),
     | |________________________________________________^