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

check that color is number in all helper calls #106

Open
johannbarbie opened this issue May 9, 2019 · 0 comments
Open

check that color is number in all helper calls #106

johannbarbie opened this issue May 9, 2019 · 0 comments
Labels

Comments

@johannbarbie
Copy link
Member

johannbarbie commented May 9, 2019

passing in strings can lead to lengthy debugging sessions.

similar to leapdao/leap-node#261

  const rawTx = Tx.transferFromUtxos(
    utxos,
    from,
    to,
    amount,
    parseInt(color) // <-- here we expect color to be integer
  )

cc Max Starka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants