[bisq-network/bisq] Enable fractional percentages in dispute payout calculation field (PR #5960)

jmacxx notifications at github.com
Sat Jan 8 15:51:04 CET 2022


@jmacxx commented on this pull request.



> @@ -963,7 +963,7 @@ private void applyUiControlsToDisputeResult(Toggle selectedTradeAmountToggle) {
 
         Coin penalizedPortionOfTradeAmount = Coin.ZERO;
         try {
-            disputeResult.setPayoutAdjustmentPercent(compensationOrPenalty.getText().replaceAll("[^0-9]", ""));
+            disputeResult.setPayoutAdjustmentPercent(compensationOrPenalty.getText().replaceAll("[^0-9,.]", ""));

@xyzmaker123 thankyou for the review.  However I sincerely believe in this case that it would be better remaining as is.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5960#discussion_r780675505
You are receiving this because you are subscribed to this thread.

Message ID: <bisq-network/bisq/pull/5960/review/847162140 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20220108/8786676f/attachment.htm>


More information about the bisq-github mailing list