Skip to content

Amount parameter should use BigNumber type #58

@msieczko

Description

@msieczko

amount parameter in lock, unlock and submitOrder methods should use BigNumber type.

JavaScript numbers are stored in 64-bit format whereas Ethereum uses integers up to 256-bit. Current implementation (revision 9b6bfbd) cannot correctly handle all possible token amounts.

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