Skip to content

If destMin exceeds MAX_INT64 in a path payment, it returns the error destMin argument must be of type String, represent a positive number and have at most 7 digits after the decimal #789

@piyalbasu

Description

@piyalbasu

Describe the bug
If destMin exceeds MAX_INT64 in a path payment, it returns the error destMin argument must be of type String, represent a positive number and have at most 7 digits after the decimal

What version are you on?
13.0.0

Expected behavior
I would expect this error message to tell me that a possible issue could be that I exceeded MAX_INT64

Additional context
https://github.com/stellar/js-stellar-base/blob/master/src/operation.js#L438

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions