Skip to content

use integers, sometimes python doesn't know how to deal with decimals#7

Open
emmnx wants to merge 1 commit intocoinspark:masterfrom
Utrum:patch-decimals
Open

use integers, sometimes python doesn't know how to deal with decimals#7
emmnx wants to merge 1 commit intocoinspark:masterfrom
Utrum:patch-decimals

Conversation

@emmnx
Copy link

@emmnx emmnx commented Mar 10, 2019

Using the store function when having balance 0.0099 and transaction fee 0.0001, results in change amount 0.009800000000000001, which ends up in HTTP Error 500: Internal Server Error from the daemon.

This patch fixes that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant