mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-23 06:55:08 +01:00
Merge pull request #4177 from jmacxx/fix_issue_3709
Display the BSQ amount correctly in issuance log message
This commit is contained in:
commit
4fd8be6b68
1 changed files with 3 additions and 1 deletions
|
@ -29,6 +29,8 @@ import bisq.core.dao.state.model.governance.Issuance;
|
|||
import bisq.core.dao.state.model.governance.IssuanceType;
|
||||
import bisq.core.dao.state.model.governance.ReimbursementProposal;
|
||||
|
||||
import bisq.common.util.MathUtils;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
import java.util.Optional;
|
||||
|
@ -85,7 +87,7 @@ public class IssuanceService {
|
|||
StringBuilder sb = new StringBuilder();
|
||||
sb.append("\n################################################################################\n");
|
||||
sb.append("We issued new BSQ to tx with ID ").append(txOutput.getTxId())
|
||||
.append("\nIssued BSQ: ").append(issuanceProposal.getRequestedBsq())
|
||||
.append("\nIssued BSQ: ").append(MathUtils.scaleDownByPowerOf10(amount, 2))
|
||||
.append("\nIssuance type: ").append(issuanceType.name())
|
||||
.append("\n################################################################################\n");
|
||||
log.info(sb.toString());
|
||||
|
|
Loading…
Add table
Reference in a new issue