Skip to content

no_std regression in scorer #1340

@devrandom

Description

@devrandom

https://gitlab.com/lightning-signer/validating-lightning-signer/-/merge_requests/210

error[E0599]: no method named `log10` found for type `f64` in the current scope
   --> /usr/local/cargo/registry/src/github.202132.xyz-1ecc6299db9ec823/lightning-0.0.105/src/routing/scoring.rs:744:26
    |
744 |         (-(success_probability.log10()) * liquidity_penalty_multiplier_msat as f64) as u64
    |                                ^^^^^ method not found in `f64`
For more information about this error, try `rustc --explain E0599`.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions