Skip to content

panic (overflow) in amount_pico_btc #3027

Closed
@mikedilger

Description

@mikedilger
thread '<unnamed>' panicked at /home/mike/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lightning-invoice-0.30.0/src/lib.rs:1081:13:
attempt to multiply with overflow

Could use overflowing_mul() to detect and return None

Panics upstream downstream project, which I cannot catch and swallow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions