Skip to content

RPC doesn't accept scientific notation for amounts #6297

@laanwj

Description

@laanwj

Reported by @morcos on IRC.

Since the univalue conversion, JSON no longer accepts e.g. 1e-5 as monetary amount. This is required by the JSON standard.

Parsing diagram numbers

This breaks e.g. the smartfees.py test. This needs to be fixed in AmountFromValue or ParseMoney.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions