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

Force UTXO amount attribute to be of type Decimal #88

Closed
alexdovzhanyn opened this issue Dec 6, 2018 · 0 comments
Closed

Force UTXO amount attribute to be of type Decimal #88

alexdovzhanyn opened this issue Dec 6, 2018 · 0 comments
Labels
Bug Something isn't working Good First Issue Good for newcomers Help Wanted Extra attention is needed

Comments

@alexdovzhanyn
Copy link
Owner

Right now this isn't enforced, and no checks are in place to ensure this doesn't corrupt the chain. I was able to create a valid transaction with a utxo that had an amount that was a string, and that transaction was mined into a block and added to the chain and is considered valid.

@alexdovzhanyn alexdovzhanyn added Bug Something isn't working Help Wanted Extra attention is needed Good First Issue Good for newcomers labels Dec 6, 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 Good First Issue Good for newcomers Help Wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant