[bisq-network/bisq] Display the BSQ amount correctly in issuance log message (#4177)
James Cox
notifications at github.com
Fri Apr 17 02:14:01 UTC 2020
Fixes #3709. The issuance log message displayed the issued BSQ with 2 extra zeros (i.e. sats value). This was because BSQ is represented internally within the application as sats, so it has to
be converted by `MathUtils.scaleDownByPowerOf10(amount, 2)` whenever displayed to the user.
Before fix:
We issued new BSQ to tx with ID 556aeeedca108aaf04bb3ff067802a212fdc751f2ed15b45d19dbcfe44aee3cd
Issued BSQ: 1000000
Issuance type: REIMBURSEMENT
After fix:
We issued new BSQ to tx with ID 556aeeedca108aaf04bb3ff067802a212fdc751f2ed15b45d19dbcfe44aee3cd
Issued BSQ: 10000.0
Issuance type: REIMBURSEMENT
You can view, comment on, or merge this pull request online at:
https://github.com/bisq-network/bisq/pull/4177
-- Commit Summary --
* Display the BSQ amount correctly in issuance log message
-- File Changes --
M core/src/main/java/bisq/core/dao/governance/voteresult/issuance/IssuanceService.java (4)
-- Patch Links --
https://github.com/bisq-network/bisq/pull/4177.patch
https://github.com/bisq-network/bisq/pull/4177.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/4177
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200416/1b1b9052/attachment.html>
More information about the bisq-github
mailing list