[bisq-network/bisq] Manual payout tool: prevent absurdly high fee payout (#5099)

jmacxx notifications at github.com
Thu Jan 21 21:17:03 CET 2021


@jmacxx commented on this pull request.



> @@ -544,6 +553,8 @@ private void calculateTxFee() {
                     .subtract(getInputFieldAsCoin(buyerPayoutAmount))
                     .subtract(getInputFieldAsCoin(sellerPayoutAmount));
             txFee.setText(txFeeValue.toPlainString());
+            double feePercent = (double) txFeeValue.value / getInputFieldAsCoin(amountInMultisig).value;

No exception, it returns `-Infinity`.  So I don't see any issue.

![image](https://user-images.githubusercontent.com/47253594/105407232-0ee4fa80-5bf3-11eb-8b81-5ffd4f9d9cbd.png)



-- 
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/5099#discussion_r562169612
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210121/24eb455d/attachment.htm>


More information about the bisq-github mailing list