z_getbalances balance uses wrong datatype #320

Open
opened 9 months ago by duke · 0 comments
duke commented 9 months ago
Owner

The output of z_getbalances will sometimes return a balance with more than 8 decimal digits because it is incorrectly using a double instead of a CAmount :

[
  {
    "address": "zs1...",
    "balance": 123.3680000000001
  }
]
The output of `z_getbalances` will sometimes return a balance with more than 8 decimal digits because it is incorrectly using a `double` instead of a `CAmount` : ``` [ { "address": "zs1...", "balance": 123.3680000000001 } ] ```
duke added the
beginners
bug
labels 9 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.