Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle decimals correctly in API #802

Open
DalderupMaurice opened this issue Dec 30, 2018 · 0 comments
Open

Handle decimals correctly in API #802

DalderupMaurice opened this issue Dec 30, 2018 · 0 comments
Labels
bug Something isn't working community issue Open for community contributions

Comments

@DalderupMaurice
Copy link
Member

Expected Behavior

One should be able to send 0.00000001 GAS through the nOS API

Current Behavior

The value is somewhere converted to a scientific number, which renders the transaction incorrect

Steps to Reproduce

  1. use the nos.send() API to send 0.00000001 GAS
  2. Observe popup
  3. TX doesn't come through

Possible Solution

Handle decimal numbers in the API logic

Additional context

/

Your Environment

  • nOS Client version used: 0.4.6
  • Environment name and version
    • Node version: lts
    • NPM version: lts
    • Yarn version: lts
  • Operating System and version (desktop or mobile):
@DalderupMaurice DalderupMaurice added bug Something isn't working community issue Open for community contributions labels Dec 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community issue Open for community contributions
Projects
None yet
Development

No branches or pull requests

1 participant